dict implements I using a reflect.Value of a map.
| 86 | |
| 87 | // dict implements I using a reflect.Value of a map. |
| 88 | type dict struct{ reflect.Value } |
| 89 | |
| 90 | func (d dict) Get(key interface{}) (val interface{}) { |
| 91 | v := d.Value.MapIndex(reflect.ValueOf(key)) |
nothing calls this directly
no outgoing calls
no test coverage detected