reflect.StructField.Tag (field)
15 uses
reflect (current package)
type.go#L1022: Tag StructTag // field tag string
type.go#L1126: f.Tag = StructTag(tag)
type.go#L2744: Name: newName(field.Name, string(field.Tag), field.IsExported(), field.Anonymous),
encoding/asn1
asn1.go#L938: 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#L1114: tag := sf.Tag.Get("json")
github.com/oapi-codegen/runtime
bindform.go#L44: tag := tValue.Field(i).Tag.Get(tagName)
bindform.go#L100: tag := tValue.Field(i).Tag.Get(tagName)
bindform.go#L178: tag := field.Tag.Get(tagName)
bindform.go#L241: tag := parentStruct.Type().Field(i).Tag.Get(tagName)
bindform.go#L301: tag := field.Tag.Get(tagName)
bindparam.go#L508: tag := fieldT.Tag.Get("json")
deepobject.go#L165: tag, found := f.Tag.Lookup("json")
styleparam.go#L259: tag := fieldT.Tag.Get("json")
 |
The pages are generated with Golds v0.7.6. (GOOS=linux 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 @zigo_101 (reachable from the left QR code) to get the latest news of Golds. |