1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-21 17:16:40 +02:00
revive/testdata/enforce_map_style_any.go
2024-11-11 19:31:18 +01:00

14 lines
199 B
Go

package fixtures
func somefn() {
m1 := make(map[string]string)
m2 := map[string]string{}
m3 := make(map[string]string, 10)
m4 := map[string]string{"k1": "v1"}
_ = m1
_ = m2
_ = m3
_ = m4
}