diff options
Diffstat (limited to 'vendor/github.com/go-xorm/builder/cond_and.go')
-rw-r--r-- | vendor/github.com/go-xorm/builder/cond_and.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/vendor/github.com/go-xorm/builder/cond_and.go b/vendor/github.com/go-xorm/builder/cond_and.go index 5063c79bf8..9c30e9c2e5 100644 --- a/vendor/github.com/go-xorm/builder/cond_and.go +++ b/vendor/github.com/go-xorm/builder/cond_and.go @@ -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 { |