mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-15 13:13:02 -06:00
upstep bun to v1.0.14 (#291)
This commit is contained in:
parent
84a8a07f38
commit
8b7c3507fe
100 changed files with 5071 additions and 3836 deletions
4
vendor/github.com/uptrace/bun/model_scan.go
generated
vendored
4
vendor/github.com/uptrace/bun/model_scan.go
generated
vendored
|
|
@ -4,6 +4,8 @@ import (
|
|||
"context"
|
||||
"database/sql"
|
||||
"reflect"
|
||||
|
||||
"github.com/uptrace/bun/schema"
|
||||
)
|
||||
|
||||
type scanModel struct {
|
||||
|
|
@ -49,6 +51,6 @@ func (m *scanModel) Scan(src interface{}) error {
|
|||
dest := reflect.ValueOf(m.dest[m.scanIndex])
|
||||
m.scanIndex++
|
||||
|
||||
scanner := m.db.dialect.Scanner(dest.Type())
|
||||
scanner := schema.Scanner(dest.Type())
|
||||
return scanner(dest, src)
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue