File: ranger.go

package info (click to toggle)
golang-github-viant-toolbox 0.33.2-4
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 1,280 kB
  • sloc: makefile: 16
file content (6 lines) | stat: -rw-r--r-- 173 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
package toolbox

//Ranger represents an abstraction that has ability range over collection item
type Ranger interface {
	Range(func(item interface{}) (bool, error)) error
}