7 Commits

Author SHA1 Message Date
Vinícius Garcia
a05d26418f Improve comments for the QueryChunks func 2020-10-28 21:30:10 -03:00
Vinícius Garcia
6978474d41 Improve QueryChunks signature to be easier to use
The changes made on this commit were designed by
Raí Tamarindo (raitamarindo@gmail.com) on a previous meeting.
2020-10-28 08:55:58 -03:00
Vinícius Garcia
335c30154d Fix linter complaints 2020-10-20 21:19:57 -03:00
Vinícius Garcia
5822e23de4 Add tests to QueryChunks function
This commit also fixes some bugs on this function and
adds a feature: Now you can return an kissorm.AbortIteration
error to abort the iteration and stop processing chunks.

This does not causes the call to QueryChunks to return an error,
since this is an expected error, thus, it is just ignored.
2020-10-14 15:45:16 -03:00
Vinícius Garcia
e8bd504703 Split the Find function into the Query & QueryOne functions 2020-10-13 21:39:39 -03:00
Vinícius Garcia
a3bf34146d Replace Query&QueryNext for the new QueryChunks func 2020-10-09 15:26:00 -03:00
Vinícius Garcia
ad77d0a1a0 Add FillSliceWith helper function 2020-09-30 22:11:41 -03:00