mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-29 18:12:25 -05:00
upstep bun version (#243)
This commit is contained in:
parent
ddfd83d0fb
commit
142f37f1bd
23 changed files with 146 additions and 57 deletions
3
vendor/github.com/uptrace/bun/schema/scan.go
generated
vendored
3
vendor/github.com/uptrace/bun/schema/scan.go
generated
vendored
|
|
@ -207,6 +207,9 @@ func scanString(dest reflect.Value, src interface{}) error {
|
|||
case []byte:
|
||||
dest.SetString(string(src))
|
||||
return nil
|
||||
case time.Time:
|
||||
dest.SetString(src.Format(time.RFC3339Nano))
|
||||
return nil
|
||||
}
|
||||
return fmt.Errorf("bun: can't scan %#v into %s", src, dest.Type())
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue