mirror of
https://github.com/astaxie/beego.git
synced 2025-06-27 14:50:19 +00:00
@ -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
|
||||
}
|
||||
|
Reference in New Issue
Block a user