mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 11:02:24 -05:00
update bun library to latest commit (#206)
* update bun library to latest commit Signed-off-by: kim (grufwub) <grufwub@gmail.com> * update to latest bun release Signed-off-by: kim (grufwub) <grufwub@gmail.com>
This commit is contained in:
parent
fc035868b2
commit
bac4ee9980
10 changed files with 39 additions and 15 deletions
4
vendor/github.com/uptrace/bun/schema/zerochecker.go
generated
vendored
4
vendor/github.com/uptrace/bun/schema/zerochecker.go
generated
vendored
|
|
@ -13,10 +13,6 @@ type isZeroer interface {
|
|||
|
||||
type IsZeroerFunc func(reflect.Value) bool
|
||||
|
||||
func FieldZeroChecker(field *Field) IsZeroerFunc {
|
||||
return zeroChecker(field.IndirectType)
|
||||
}
|
||||
|
||||
func zeroChecker(typ reflect.Type) IsZeroerFunc {
|
||||
if typ.Implements(isZeroerType) {
|
||||
return isZeroInterface
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue