1
0
mirror of https://github.com/mgechev/revive.git synced 2024-11-28 08:49:11 +02:00
revive/testdata/enforce-map-style-any.go

14 lines
199 B
Go
Raw Normal View History

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
}