mirror of
https://github.com/mudler/luet.git
synced 2025-06-30 09:12:15 +00:00
16 lines
228 B
Go
16 lines
228 B
Go
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
|
|
}
|