reflect.StructField.Name (field)
25 uses
reflect (current package)
type.go#L871: Name string
type.go#L977: f.Name = p.Name.Name()
type.go#L1733: Name: "FuncType",
type.go#L1737: Name: "Args",
type.go#L2172: if field.Name == "" {
type.go#L2175: if !isValidFieldName(field.Name) {
type.go#L2400: {Name: "S", Type: TypeOf(structType{})},
type.go#L2401: {Name: "U", Type: TypeOf(uncommonType{})},
type.go#L2402: {Name: "M", Type: ArrayOf(len(methods), TypeOf(methods[0]))},
type.go#L2569: panic("reflect.StructOf: field \"" + field.Name + "\" is anonymous but has PkgPath set")
type.go#L2575: c := field.Name[0]
type.go#L2577: panic("reflect.StructOf: field \"" + field.Name + "\" is unexported but missing PkgPath")
type.go#L2583: Name: newName(field.Name, string(field.Tag), field.IsExported(), field.Anonymous),
visiblefields.go#L36: if f.Name == "" {
visiblefields.go#L70: if oldIndex, ok := w.byName[f.Name]; ok {
visiblefields.go#L77: old.Name = ""
visiblefields.go#L81: old.Name = ""
visiblefields.go#L91: w.byName[f.Name] = len(w.fields)
encoding/binary
binary.go#L631: if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
binary.go#L696: if v := v.Field(i); v.CanSet() || t.Field(i).Name != "_" {
encoding/json
decode.go#L151: return "json: cannot unmarshal object key " + strconv.Quote(e.Key) + " into unexported field " + e.Field.Name + " of type " + e.Type.String()
encode.go#L1150: name = sf.Name
fmt
print.go#L848: if name := f.Type().Field(i).Name; name != "" {
net/http
h2_error.go#L29: if sf.Name != df.Name || !sf.Type.ConvertibleTo(df.Type) {
|
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. |