google.golang.org/protobuf/internal/impl.coderFieldInfo.isPointer (field)
6 uses
google.golang.org/protobuf/internal/impl (current package)
checkinit.go#L49: if f.isPointer && fptr.Elem().IsNil() {
codec_message.go#L45: isPointer bool // true if IsNil may be called on the struct field
codec_message.go#L95: isPointer: fd.Cardinality() == pref.Repeated || fd.HasPresence(),
encode.go#L76: if f.isPointer && fptr.Elem().IsNil() {
encode.go#L135: if f.isPointer && fptr.Elem().IsNil() {
merge.go#L49: if f.isPointer && sfptr.Elem().IsNil() {
![]() |
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. |