route/vendor/github.com/asdine/storm/index/options.go

16 lines
228 B
Go
Raw Normal View History

2017-04-28 23:28:25 +00:00
package index
// NewOptions creates initialized Options
func NewOptions() *Options {
return &Options{
Limit: -1,
}
}
// Options are used to customize queries
type Options struct {
Limit int
Skip int
Reverse bool
}