Clean up database/query package

This commit is contained in:
Daniel 2019-09-20 22:01:17 +02:00
parent ac6d9db456
commit 60dea8092f
7 changed files with 37 additions and 39 deletions

View file

@ -38,7 +38,7 @@ func (c *andCond) check() (err error) {
}
func (c *andCond) string() string {
var all []string
all := make([]string, 0, len(c.conditions))
for _, cond := range c.conditions {
all = append(all, cond.string())
}