github.com/golang/protobuf/proto.Properties.Init (method)
4 uses
github.com/golang/protobuf/proto (current package)
properties.go#L196: func (p *Properties) Init(typ reflect.Type, name, tag string, f *reflect.StructField) {
properties.go#L206: p.MapKeyProp.Init(nil, "Key", f.Tag.Get("protobuf_key"), nil)
properties.go#L208: p.MapValProp.Init(nil, "Value", f.Tag.Get("protobuf_val"), nil)
properties.go#L240: p.Init(f.Type, f.Name, tagField, &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. |