reflect.Type.Name (method)
10 uses
reflect (current package)
type.go#L95: Name() string
encoding/asn1
asn1.go#L887: 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#L259: err.Struct = d.errorContext.Struct.Name()
decode.go#L450: if v.Kind() != reflect.Pointer && v.Type().Name() != "" && v.CanAddr() {
encode.go#L1151: if ft.Name() == "" && ft.Kind() == reflect.Pointer {
encode.go#L1239: next = append(next, field{name: ft.Name(), index: index, typ: ft})
go.opentelemetry.io/otel/semconv/v1.41.0
error_type.go#L58: pkg, name := t.PkgPath(), t.Name()
go.opentelemetry.io/otel/trace
auto.go#L500: if t.PkgPath() == "" && t.Name() == "" {
auto.go#L504: return fmt.Sprintf("%s.%s", t.PkgPath(), t.Name())
 |
The pages are generated with Golds v0.8.4. (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. |