MCPcopy Create free account
hub / github.com/google/gapid / dict

Struct dict

core/data/dictionary/dictionary.go:88–88  ·  view source on GitHub ↗

dict implements I using a reflect.Value of a map.

Source from the content-addressed store, hash-verified

86
87// dict implements I using a reflect.Value of a map.
88type dict struct{ reflect.Value }
89
90func (d dict) Get(key interface{}) (val interface{}) {
91 v := d.Value.MapIndex(reflect.ValueOf(key))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected