mirror of
https://github.com/astaxie/beego.git
synced 2024-11-23 18:10:54 +00:00
commit
a00b54d8f6
@ -152,5 +152,8 @@ func (c *Condition) IsEmpty() bool {
|
||||
|
||||
// clone clone a condition
|
||||
func (c Condition) clone() *Condition {
|
||||
params := make([]condValue, len(c.params))
|
||||
copy(params, c.params)
|
||||
c.params = params
|
||||
return &c
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user