fixed typo and cleaner helper
This commit is contained in:
parent
6d41615250
commit
558d6ae7d0
2 changed files with 22 additions and 16 deletions
|
|
@ -180,7 +180,7 @@ func (q *Query) GenericFilter(i interface{}) interface{} {
|
|||
}
|
||||
|
||||
// Filter takes a pointer to the Filter interface as an argument.
|
||||
// The original slice is modified is the filtering process.
|
||||
// The original slice is modified in the filtering process.
|
||||
func (q Query) Filter(f Filter) {
|
||||
count := 0
|
||||
i := 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue