google.golang.org/protobuf/reflect/protoreflect.Value.MapKey (method)
16 uses
google.golang.org/protobuf/reflect/protoreflect (current package)
value_union.go#L345: func (v Value) MapKey() MapKey {
google.golang.org/protobuf/encoding/protojson
decode.go#L656: return pref.ValueOfString(name).MapKey(), nil
decode.go#L661: return pref.ValueOfBool(true).MapKey(), nil
decode.go#L663: return pref.ValueOfBool(false).MapKey(), nil
decode.go#L668: return pref.ValueOfInt32(int32(n)).MapKey(), nil
decode.go#L673: return pref.ValueOfInt64(int64(n)).MapKey(), nil
decode.go#L678: return pref.ValueOfUint32(uint32(n)).MapKey(), nil
decode.go#L683: return pref.ValueOfUint64(uint64(n)).MapKey(), nil
google.golang.org/protobuf/encoding/prototext
decode.go#L553: key = val.MapKey()
decode.go#L578: key = fd.MapKey().Default().MapKey()
google.golang.org/protobuf/internal/impl
codec_map.go#L99: key := mapi.conv.keyConv.PBValueOf(iter.Key()).MapKey()
codec_map.go#L238: key := mapi.conv.keyConv.PBValueOf(keyrv).MapKey()
codec_map.go#L250: key := mapi.conv.keyConv.PBValueOf(keyrv).MapKey()
convert_map.go#L106: k := ms.keyConv.PBValueOf(iter.Key()).MapKey()
google.golang.org/protobuf/proto
decode.go#L267: mapv.Set(key.MapKey(), val)
github.com/golang/protobuf/proto
text_decode.go#L360: mv.Set(kv.MapKey(), vv)
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin GOARCH=amd64) Golds is a Go 101 project developed by Tapir Liu. PR and bug reports are welcome and can be submitted to the issue list. Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |