search.go
Method search.clone
has 52 lines of code (exceeds 50 allowed). Consider refactoring. Open
Open
func (s *search) clone() *search {
clone := search{
db: s.db,
whereConditions: make([]map[string]interface{}, len(s.whereConditions)),
orConditions: make([]map[string]interface{}, len(s.orConditions)),