reflect.StructField.IsExported (method)
7 uses
reflect (current package)
type.go#L886: func (f StructField) IsExported() bool {
type.go#L2572: if field.IsExported() {
type.go#L2583: Name: newName(field.Name, string(field.Tag), field.IsExported(), field.Anonymous),
encoding/asn1
asn1.go#L920: if !structType.Field(i).IsExported() {
marshal.go#L491: if !t.Field(i).IsExported() {
encoding/json
encode.go#L1105: if !sf.IsExported() && t.Kind() != reflect.Struct {
encode.go#L1111: } else if !sf.IsExported() {
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. |