MCPcopy
hub / github.com/hashicorp/go-memdb / StringMapFieldIndex

Struct StringMapFieldIndex

index.go:213–216  ·  view source on GitHub ↗

StringMapFieldIndex is used to extract a field of type map[string]string from an object using reflection and builds an index on that field. Note that although FromArgs in theory supports using either one or two arguments, there is a bug: FromObject only creates an index using key/value, and does no

Source from the content-addressed store, hash-verified

211//
212// TODO: Fix this in the next major bump.
213type StringMapFieldIndex struct {
214 Field string
215 Lowercase bool
216}
217
218var MapType = reflect.MapOf(reflect.TypeOf(""), reflect.TypeOf("")).Kind()
219

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected