reflect.Type.Name (method)
7 uses
reflect (current package)
type.go#L82: Name() string
encoding/asn1
asn1.go#L845: err = StructuralError{fmt.Sprintf("tags don't match (%d vs %+v) %+v %s @%d", expectedTag, t, params, fieldType.Name(), offset)}
common.go#L177: if strings.HasSuffix(t.Name(), "SET") {
encoding/json
decode.go#L257: err.Struct = d.errorContext.Struct.Name()
decode.go#L444: if v.Kind() != reflect.Pointer && v.Type().Name() != "" && v.CanAddr() {
encode.go#L1128: if ft.Name() == "" && ft.Kind() == reflect.Pointer {
encode.go#L1181: next = append(next, field{name: ft.Name(), index: index, typ: ft})
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. |