google.golang.org/protobuf/internal/filedesc.OneofFields.lazyInit (method)
4 uses
google.golang.org/protobuf/internal/filedesc (current package)
desc_list.go#L253: func (p *OneofFields) ByName(s pref.Name) pref.FieldDescriptor { return p.lazyInit().byName[s] }
desc_list.go#L254: func (p *OneofFields) ByJSONName(s string) pref.FieldDescriptor { return p.lazyInit().byJSON[s] }
desc_list.go#L255: func (p *OneofFields) ByNumber(n pref.FieldNumber) pref.FieldDescriptor { return p.lazyInit().byNum[n] }
desc_list.go#L259: func (p *OneofFields) lazyInit() *OneofFields {
![]() |
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. |