summaryrefslogtreecommitdiff
path: root/map_go118.go
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2023-01-26 12:52:54 -0700
committerLuke Shumaker <lukeshu@lukeshu.com>2023-01-26 12:52:54 -0700
commit4d7ce9f864409dcfb84d2e027df0022076946583 (patch)
treec4313520e8008e85c147b6d6864f51046e7ed450 /map_go118.go
parent716dd31f7cf52d9772fd4ed687f9cdc921443a35 (diff)
Map: Work around https://github.com/golang/go/issues/56548
Diffstat (limited to 'map_go118.go')
-rw-r--r--map_go118.go9
1 files changed, 9 insertions, 0 deletions
diff --git a/map_go118.go b/map_go118.go
new file mode 100644
index 0000000..5446c88
--- /dev/null
+++ b/map_go118.go
@@ -0,0 +1,9 @@
+// Copyright (C) 2023 Luke Shumaker <lukeshu@lukeshu.com>
+//
+// SPDX-License-Identifier: GPL-2.0-or-later
+
+//go:build !go1.20
+
+package typedsync
+
+type mapkey = any