5 func fn1(i3 interface{}) {
6 var v map[string]interface{}
8 var i2 interface{} = &v
10 json.Unmarshal([]byte(`{}`), v) // want `Unmarshal expects to unmarshal into a pointer`
11 json.Unmarshal([]byte(`{}`), &v)
12 json.Unmarshal([]byte(`{}`), i1) // want `Unmarshal expects to unmarshal into a pointer`
13 json.Unmarshal([]byte(`{}`), i2)
14 json.Unmarshal([]byte(`{}`), i3)
15 json.Unmarshal([]byte(`{}`), p)
17 json.NewDecoder(nil).Decode(v) // want `Decode expects to unmarshal into a pointer`