ニュース

Turns out, the switch-case statements are a bit faster compared to a string hashmap in Go 1.20+. $ go version go version go1.21.0 linux/amd64 $ go test -bench=. goos ...