google.golang.org/protobuf/internal/impl.messageConverter.goType (field)
9 uses
google.golang.org/protobuf/internal/impl (current package)
convert.go#L415: goType reflect.Type
convert.go#L423: if v.Type() != c.goType {
convert.go#L424: panic(fmt.Sprintf("invalid type: got %v, want %v", v.Type(), c.goType))
convert.go#L440: if rv.Type() != c.goType {
convert.go#L441: panic(fmt.Sprintf("invalid type: got %v, want %v", rv.Type(), c.goType))
convert.go#L454: return rv.Type() == c.goType
convert.go#L458: return v.IsValid() && v.Type() == c.goType
convert.go#L462: return c.PBValueOf(reflect.New(c.goType.Elem()))
convert.go#L466: 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. |