reflect.StructField.PkgPath (field)
23 uses
reflect (current package)
type.go#L1096: PkgPath string
type.go#L1195: f.PkgPath = t.pkgPath.name()
type.go#L2770: if field.Anonymous && field.PkgPath != "" {
type.go#L2774: exported := field.PkgPath == ""
type.go#L2795: return f, field.PkgPath
encoding/asn1
asn1.go#L917: if structType.Field(i).PkgPath != "" {
marshal.go#L491: if t.Field(i).PkgPath != "" {
encoding/json
encode.go#L1242: isUnexported := sf.PkgPath != ""
encoding/xml
typeinfo.go#L63: if (f.PkgPath != "" && !f.Anonymous) || f.Tag.Get("xml") == "-" {
github.com/aws/aws-sdk-go/private/protocol/json/jsonutil
build.go#L103: if field.PkgPath != "" {
unmarshal.go#L151: if field.PkgPath != "" {
github.com/aws/aws-sdk-go/private/protocol/query/queryutil
queryutil.go#L76: if field.PkgPath != "" {
github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil
build.go#L140: if field.PkgPath != "" {
github.com/ghodss/yaml
fields.go#L158: if sf.PkgPath != "" { // unexported
github.com/google/go-cmp/cmp
options.go#L240: pkgPath = t.Field(i).PkgPath
github.com/google/go-cmp/cmp/internal/value
name.go#L95: if qualified && sf.PkgPath != "" {
name.go#L97: b = append(b, sf.PkgPath...)
github.com/imdario/mergo
merge.go#L29: pkgPath := field.PkgPath
github.com/jackc/pgtype
composite_type.go#L202: if sf.PkgPath == "" {
golang.org/x/pkgsite/internal/godoc/codec
generate.go#L274: if f.PkgPath != "" { // Ignore unexported fields. A field is exported if its PkgPath is empty.
gopkg.in/yaml.v2
yaml.go#L324: if field.PkgPath != "" && !field.Anonymous {
yaml.go#L456: if vt.Field(i).PkgPath != "" {
text/template
exec.go#L618: if tField.PkgPath != "" { // field is unexported
![]() |
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. |