type reflect.name
17 uses
reflect (current package)
type.go#L391: pkgPath name // import path
type.go#L423: name name // name is always non-empty
type.go#L439: pkgPath name
type.go#L466: type name struct {
type.go#L470: func (n name) data(off int, whySafe string) *byte {
type.go#L474: func (n name) isExported() bool {
type.go#L478: func (n name) nameLen() int {
type.go#L482: func (n name) tagLen() int {
type.go#L490: func (n name) name() (s string) {
type.go#L502: func (n name) tag() (s string) {
type.go#L514: func (n name) pkgPath() string {
type.go#L526: pkgPathName := name{(*byte)(resolveTypeOff(unsafe.Pointer(n.bytes), nameOff))}
type.go#L530: func newName(n, tag string, exported bool) name {
type.go#L560: return name{bytes: &b[0]}
type.go#L664: func resolveReflectName(n name) nameOff {
type.go#L685: func (t *rtype) nameOff(off nameOff) name {
type.go#L686: return name{(*byte)(resolveNameOff(unsafe.Pointer(t), int32(off)))}
![]() |
The pages are generated with Golds v0.3.2-preview. (GOOS=darwin 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. |