summaryrefslogtreecommitdiff
path: root/vendor/github.com/uptrace/bun/model_table_slice.go
diff options
context:
space:
mode:
authorLibravatar tobi <31960611+tsmethurst@users.noreply.github.com>2023-01-22 12:26:47 +0100
committerLibravatar GitHub <noreply@github.com>2023-01-22 12:26:47 +0100
commit0ceacd7b1d0b03e3da1d552aa0bbbe7037e57e90 (patch)
tree106bd6f80fe5466522b37b5778ebc7c4fd6ab728 /vendor/github.com/uptrace/bun/model_table_slice.go
parent[chore] Add name to instance field for autosuggestion (#1359) (diff)
downloadgotosocial-0ceacd7b1d0b03e3da1d552aa0bbbe7037e57e90.tar.xz
[chore] bump db dependencies (#1366)
Diffstat (limited to 'vendor/github.com/uptrace/bun/model_table_slice.go')
-rw-r--r--vendor/github.com/uptrace/bun/model_table_slice.go3
1 files changed, 2 insertions, 1 deletions
diff --git a/vendor/github.com/uptrace/bun/model_table_slice.go b/vendor/github.com/uptrace/bun/model_table_slice.go
index 97e674515..b49e0ce03 100644
--- a/vendor/github.com/uptrace/bun/model_table_slice.go
+++ b/vendor/github.com/uptrace/bun/model_table_slice.go
@@ -6,6 +6,7 @@ import (
"reflect"
"time"
+ "github.com/uptrace/bun/internal"
"github.com/uptrace/bun/schema"
)
@@ -33,7 +34,7 @@ func newSliceTableModel(
slice: slice,
sliceLen: slice.Len(),
- nextElem: makeSliceNextElemFunc(slice),
+ nextElem: internal.MakeSliceNextElemFunc(slice),
}
m.init(slice.Type())
return m