func reflect.PtrTo
23 uses
reflect (current package)
type.go#L1437: func PtrTo(t Type) Type { return PointerTo(t) }
github.com/aws/aws-sdk-go-v2/aws
credentials.go#L161: targetType = reflect.PtrTo(targetType)
credentials.go#L166: providerType = reflect.PtrTo(providerType)
github.com/go-pg/pg/v10/orm
table.go#L105: typ = reflect.PtrTo(t.Type)
table.go#L520: typ := reflect.PtrTo(t.Type)
table.go#L1198: return typ.Implements(scannerType) || reflect.PtrTo(typ).Implements(scannerType)
github.com/go-pg/pg/v10/types
scan_value.go#L104: if reflect.PtrTo(typ).Implements(valueScannerType) {
scan_value.go#L111: if reflect.PtrTo(typ).Implements(sqlScannerType) {
github.com/golang/protobuf/proto
properties.go#L263: if fn, ok := reflect.PtrTo(t).MethodByName("XXX_OneofFuncs"); ok {
properties.go#L266: if fn, ok := reflect.PtrTo(t).MethodByName("XXX_OneofWrappers"); ok {
properties.go#L269: if m, ok := reflect.Zero(reflect.PtrTo(t)).Interface().(protoreflect.ProtoMessage); ok {
github.com/vmihailenco/msgpack/v5
decode_value.go#L81: ptr := reflect.PtrTo(typ)
encode_value.go#L75: ptr := reflect.PtrTo(typ)
google.golang.org/protobuf/internal/impl
convert.go#L430: v = reflect.Zero(reflect.PtrTo(v.Type()))
convert.go#L448: if rv.Type() != reflect.PtrTo(c.goType) {
convert.go#L449: panic(fmt.Sprintf("invalid type: got %v, want %v", rv.Type(), reflect.PtrTo(c.goType)))
convert.go#L472: return rv.Type() == reflect.PtrTo(c.goType)
convert_list.go#L63: return protoreflect.ValueOfList(&listReflect{reflect.Zero(reflect.PtrTo(c.goType)), c.c})
legacy_extension.go#L44: extType = reflect.PtrTo(extType) // T -> *T for singular scalar fields
message.go#L196: if fn, ok := reflect.PtrTo(t).MethodByName(method); ok {
message_reflect.go#L223: ft = reflect.PtrTo(ft) // never occurs for officially generated message types
message_reflect_field.go#L72: if !reflect.PtrTo(ot).Implements(ft) {
message_reflect_field.go#L205: conv := NewConverter(reflect.PtrTo(ft), fd)
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)