reflect.StructTag.Get (method)
17 uses
reflect (current package)
type.go#L1036: func (tag StructTag) Get(key string) string {
encoding/asn1
asn1.go#L932: innerOffset, err = parseField(val.Field(i), innerBytes, innerOffset, parseFieldParameters(field.Tag.Get("asn1")))
marshal.go#L520: return makeField(v.Field(startingField), parseFieldParameters(t.Field(startingField).Tag.Get("asn1")))
marshal.go#L524: m[i], err = makeField(v.Field(i+startingField), parseFieldParameters(t.Field(i+startingField).Tag.Get("asn1")))
encoding/json
encode.go#L1134: tag := sf.Tag.Get("json")
google.golang.org/protobuf/internal/impl
legacy_message.go#L131: if f.Tag.Get("protobuf") != "" || f.Tag.Get("protobuf_oneof") != "" || strings.HasPrefix(f.Name, "XXX_") {
legacy_message.go#L194: if tag := f.Tag.Get("protobuf"); tag != "" {
legacy_message.go#L243: if tag := f.Tag.Get("protobuf"); tag != "" {
legacy_message.go#L244: tagKey := f.Tag.Get("protobuf_key")
legacy_message.go#L245: tagVal := f.Tag.Get("protobuf_val")
legacy_message.go#L248: if tag := f.Tag.Get("protobuf_oneof"); tag != "" {
legacy_message.go#L261: if tag := f.Tag.Get("protobuf"); tag != "" {
message.go#L181: for _, s := range strings.Split(f.Tag.Get("protobuf"), ",") {
message.go#L188: if s := f.Tag.Get("protobuf_oneof"); len(s) > 0 {
message.go#L214: for _, s := range strings.Split(f.Tag.Get("protobuf"), ",") {
message_opaque.go#L32: pgt := t.Field(0).Tag.Get("protogen")