summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/schema/reflect.go
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/uptrace/bun/schema/reflect.go')
-rw-r--r--vendor/github.com/uptrace/bun/schema/reflect.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/vendor/github.com/uptrace/bun/schema/reflect.go b/vendor/github.com/uptrace/bun/schema/reflect.go
index 89be8eeb6..75980b102 100644
--- a/vendor/github.com/uptrace/bun/schema/reflect.go
+++ b/vendor/github.com/uptrace/bun/schema/reflect.go
@@ -4,6 +4,7 @@ import (
"database/sql/driver"
"encoding/json"
"net"
+ "net/netip"
"reflect"
"time"
)
@@ -14,6 +15,8 @@ var (
timeType = timePtrType.Elem()
ipType = reflect.TypeOf((*net.IP)(nil)).Elem()
ipNetType = reflect.TypeOf((*net.IPNet)(nil)).Elem()
+ netipPrefixType = reflect.TypeOf((*netip.Prefix)(nil)).Elem()
+ netipAddrType = reflect.TypeOf((*netip.Addr)(nil)).Elem()
jsonRawMessageType = reflect.TypeOf((*json.RawMessage)(nil)).Elem()
driverValuerType = reflect.TypeOf((*driver.Valuer)(nil)).Elem()