google.golang.org/protobuf/internal/filedesc.OneofFields.byJSON (field)
4 uses
google.golang.org/protobuf/internal/filedesc (current package)
desc_list.go#L247: byJSON map[string]pref.FieldDescriptor // protected by once
desc_list.go#L254: func (p *OneofFields) ByJSONName(s string) pref.FieldDescriptor { return p.lazyInit().byJSON[s] }
desc_list.go#L263: p.byJSON = make(map[string]pref.FieldDescriptor, len(p.List))
desc_list.go#L268: p.byJSON[f.JSONName()] = f
![]() |
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. |