github.com/jackc/pgtype.ConnInfo.RegisterDefaultPgType (method)
7 uses
github.com/jackc/pgtype (current package)
pgtype.go#L323: ci.RegisterDefaultPgType(value, name)
pgtype.go#L326: ci.RegisterDefaultPgType(reflect.New(valueType).Interface(), name)
pgtype.go#L329: ci.RegisterDefaultPgType(reflect.MakeSlice(sliceType, 0, 0).Interface(), arrayName)
pgtype.go#L331: ci.RegisterDefaultPgType(reflect.New(sliceType).Interface(), arrayName)
pgtype.go#L355: ci.RegisterDefaultPgType((*net.IPNet)(nil), "cidr")
pgtype.go#L356: ci.RegisterDefaultPgType([]*net.IPNet(nil), "_cidr")
pgtype.go#L413: func (ci *ConnInfo) RegisterDefaultPgType(value interface{}, name string) {
![]() |
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. |