mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-10-30 12:02:25 -05:00
bumps uptrace/bun dependencies to v1.2.6 (#3569)
This commit is contained in:
parent
a444adee97
commit
3fceb5fc1a
68 changed files with 6517 additions and 194 deletions
9
vendor/github.com/uptrace/bun/query_column_drop.go
generated
vendored
9
vendor/github.com/uptrace/bun/query_column_drop.go
generated
vendored
|
|
@ -40,9 +40,12 @@ func (q *DropColumnQuery) Err(err error) *DropColumnQuery {
|
|||
return q
|
||||
}
|
||||
|
||||
func (q *DropColumnQuery) Apply(fn func(*DropColumnQuery) *DropColumnQuery) *DropColumnQuery {
|
||||
if fn != nil {
|
||||
return fn(q)
|
||||
// Apply calls each function in fns, passing the DropColumnQuery as an argument.
|
||||
func (q *DropColumnQuery) Apply(fns ...func(*DropColumnQuery) *DropColumnQuery) *DropColumnQuery {
|
||||
for _, fn := range fns {
|
||||
if fn != nil {
|
||||
q = fn(q)
|
||||
}
|
||||
}
|
||||
return q
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue