reflect.StructField.Tag (field)
7 uses
reflect (current package)
type.go#L879: Tag StructTag // field tag string
type.go#L983: f.Tag = StructTag(tag)
type.go#L2583: 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#L523: return makeField(v.Field(startingField), parseFieldParameters(t.Field(startingField).Tag.Get("asn1")))
marshal.go#L527: m[i], err = makeField(v.Field(i+startingField), parseFieldParameters(t.Field(i+startingField).Tag.Get("asn1")))
encoding/json
encode.go#L1115: tag := sf.Tag.Get("json")
|
The pages are generated with Golds v0.6.7. (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 @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |