forked from forgejo/forgejo
Update xorm and dependencies vendor for feature to dump to other database (#565)
* update xorm and dependencies vendor for feature to dump to other database * fix golint
This commit is contained in:
parent
70900bd167
commit
980dd0bf51
54 changed files with 3135 additions and 2619 deletions
5
vendor/github.com/go-xorm/builder/cond_and.go
generated
vendored
5
vendor/github.com/go-xorm/builder/cond_and.go
generated
vendored
|
@ -1,3 +1,7 @@
|
|||
// Copyright 2016 The Xorm Authors. All rights reserved.
|
||||
// Use of this source code is governed by a BSD-style
|
||||
// license that can be found in the LICENSE file.
|
||||
|
||||
package builder
|
||||
|
||||
import "fmt"
|
||||
|
@ -6,6 +10,7 @@ type condAnd []Cond
|
|||
|
||||
var _ Cond = condAnd{}
|
||||
|
||||
// And generates AND conditions
|
||||
func And(conds ...Cond) Cond {
|
||||
var result = make(condAnd, 0, len(conds))
|
||||
for _, cond := range conds {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue