fixed typo and cleaner helper

This commit is contained in:
ston1th 2017-07-09 20:34:58 +02:00
commit 558d6ae7d0
2 changed files with 22 additions and 16 deletions

View file

@ -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