google.golang.org/protobuf/internal/impl.mapConverter.goType (field)
8 uses
google.golang.org/protobuf/internal/impl (current package)
convert_map.go#L15: goType reflect.Type // map[K]V
convert_map.go#L24: goType: t,
convert_map.go#L31: if v.Type() != c.goType {
convert_map.go#L32: panic(fmt.Sprintf("invalid type: got %v, want %v", v.Type(), c.goType))
convert_map.go#L46: return mapv.v.Type() == c.goType
convert_map.go#L50: return v.IsValid() && v.Type() == c.goType
convert_map.go#L54: return c.PBValueOf(reflect.MakeMap(c.goType))
convert_map.go#L58: return c.PBValueOf(reflect.Zero(c.goType))
![]() |
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. |