reflect.Type.PkgPath (method)
22 uses
reflect (current package)
type.go#L87: PkgPath() string
type.go#L1653: if T.Name() != V.Name() || T.Kind() != V.Kind() || T.PkgPath() != V.PkgPath() {
value.go#L3141: if dst.Kind() == Slice && dst.Elem().PkgPath() == "" {
value.go#L3151: if dst.Kind() == String && src.Elem().PkgPath() == "" {
github.com/golang/protobuf/ptypes/any
any.pb.go#L48: GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
github.com/golang/protobuf/ptypes/duration
duration.pb.go#L49: GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
github.com/golang/protobuf/ptypes/timestamp
timestamp.pb.go#L50: GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
github.com/google/go-cmp/cmp
options.go#L234: name = fmt.Sprintf("%q.%v", t.PkgPath(), t.Name()) // e.g., "path/to/package".MyType
github.com/google/go-cmp/cmp/internal/value
name.go#L32: if qualified && t.PkgPath() != "" {
name.go#L34: b = append(b, t.PkgPath()...)
sort.go#L95: if tx.PkgPath() != ty.PkgPath() {
sort.go#L96: return tx.PkgPath() < ty.PkgPath()
google.golang.org/genproto/googleapis/rpc/status
status.pb.go#L188: GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
google.golang.org/grpc/binarylog/grpc_binarylog_v1
binarylog.pb.go#L1167: GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
google.golang.org/protobuf/internal/impl
legacy_enum.go#L205: prefix := strings.Map(sanitize, t.PkgPath())
google.golang.org/protobuf/types/descriptorpb
descriptor.pb.go#L3941: GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
google.golang.org/protobuf/types/known/anypb
any.pb.go#L483: GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
google.golang.org/protobuf/types/known/durationpb
duration.pb.go#L364: GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
google.golang.org/protobuf/types/known/timestamppb
timestamp.pb.go#L375: GoPackagePath: reflect.TypeOf(x{}).PkgPath(),