mirror of
https://github.com/safing/portbase
synced 2025-09-10 23:34:42 +00:00
Clean up database/query package
This commit is contained in:
parent
ac6d9db456
commit
60dea8092f
7 changed files with 37 additions and 39 deletions
|
@ -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())
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue