X7ROOT File Manager
Current Path:
/opt/golang/1.19.4/test/fixedbugs/issue52279.dir
opt
/
golang
/
1.19.4
/
test
/
fixedbugs
/
issue52279.dir
/
📁
..
📄
lib.go
(321 B)
📄
main.go
(65 B)
Editing: lib.go
package lib type FMap[K comparable, V comparable] map[K]V //go:noinline func (m FMap[K, V]) Flip() FMap[V, K] { out := make(FMap[V, K]) return out } type MyType uint8 const ( FIRST MyType = 0 ) var typeStrs = FMap[MyType, string]{ FIRST: "FIRST", } func (self MyType) String() string { return typeStrs[self] }
Upload File
Create Folder