☰
Debian Codegraph
@
0.16.1+git20260209.fcb76d1-2
0.16.1+git20260209.fcb76d1-1
/
/
_test
/
gen13.go
☽
☼
_test/gen13.go
code
plain
raw
symbols
SCIP
Apache-2.0
2019 Containous SAS; 2020 Traefik Labs SAS
debian/copyright
1
package
main
2
3
type
Map
[K
comparable
, V
any
]
struct
{
4
ж
ma
p
[
K
]
V
5
}
6
7
func
(m
Map
[
K
,
V
])
Has
(k
K
)
bool
{
8
_, ok := m.ж[k]
9
return
ok
10
}
11
12
func
main() {
13
m :=
Map
[
string
,
float64
]{}
14
println(m.
Has
(
"test"
))
15
}
16
17
// Output:
18
// false