summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/schema/zerochecker.go
diff options
context:
space:
mode:
authorLibravatar kim <89579420+NyaaaWhatsUpDoc@users.noreply.github.com>2024-11-08 13:51:23 +0000
committerLibravatar GitHub <noreply@github.com>2024-11-08 13:51:23 +0000
commit29007b1b886e7455ece5aa6e4d477805209fad88 (patch)
tree21b11cbf12faf71d44d43c61a2d4916b7bd82b80 /vendor/github.com/uptrace/bun/schema/zerochecker.go
parentbump ncruces/go-sqlite3 to v0.20.2 (#3524) (diff)
downloadgotosocial-29007b1b886e7455ece5aa6e4d477805209fad88.tar.xz
[chore] update bun libraries to v1.2.5 (#3528)
* update bun libraries to v1.2.5 * pin old v1.29.0 of otel
Diffstat (limited to 'vendor/github.com/uptrace/bun/schema/zerochecker.go')
-rw-r--r--vendor/github.com/uptrace/bun/schema/zerochecker.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/uptrace/bun/schema/zerochecker.go b/vendor/github.com/uptrace/bun/schema/zerochecker.go
index f24e51d30..7c1f088c1 100644
--- a/vendor/github.com/uptrace/bun/schema/zerochecker.go
+++ b/vendor/github.com/uptrace/bun/schema/zerochecker.go
@@ -60,7 +60,7 @@ func zeroChecker(typ reflect.Type) IsZeroerFunc {
kind := typ.Kind()
if kind != reflect.Ptr {
- ptr := reflect.PtrTo(typ)
+ ptr := reflect.PointerTo(typ)
if ptr.Implements(isZeroerType) {
return addrChecker(isZeroInterface)
}