diff options
| author | 2023-05-12 14:33:40 +0200 | |
|---|---|---|
| committer | 2023-05-12 14:33:40 +0200 | |
| commit | ec325fee141c1e9757144a0a4094061b56839b78 (patch) | |
| tree | 2948ab4ef5702cc8478ab2be841340b946bdb867 /vendor/github.com/uptrace/bun/model.go | |
| parent | [frogend/bugfix] fix dynamicSpoiler elements (#1771) (diff) | |
| download | gotosocial-ec325fee141c1e9757144a0a4094061b56839b78.tar.xz | |
[chore] Update a bunch of database dependencies (#1772)
* [chore] Update a bunch of database dependencies
* fix lil thing
Diffstat (limited to 'vendor/github.com/uptrace/bun/model.go')
| -rw-r--r-- | vendor/github.com/uptrace/bun/model.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vendor/github.com/uptrace/bun/model.go b/vendor/github.com/uptrace/bun/model.go index 6ad4d8efe..046bfdfea 100644 --- a/vendor/github.com/uptrace/bun/model.go +++ b/vendor/github.com/uptrace/bun/model.go @@ -101,7 +101,7 @@ func _newModel(db *DB, dest interface{}, scan bool) (Model, error) { if typ.Kind() == reflect.Struct { return newStructTableModel(db, dest, db.Table(typ)), nil } - return nil, fmt.Errorf("bun: Model(nil %T)", dest) + return nil, fmt.Errorf("bun: Model(nil %s %T)", typ.Kind(), dest) } v = v.Elem() |
