Documentation
¶
Index ¶
- Constants
- Variables
- type Option
- func BundleValues(b bool) Option
- func BundleWhereIn(b bool) Option
- func CSVGroups(csv string) Option
- func File(s string) Option
- func Filters(s string) Option
- func Format(s string) Option
- func Limit(i int) Option
- func MatchingGroups(values []string) Option
- func NoAbstract(b bool) Option
- func NoHeaders(b bool) Option
- func NoSavePos(b bool) Option
- func Output(s string) Option
- func PaginationLimit(i int) Option
- func Percentiles(i []int) Option
- func PosFile(s string) Option
- func Reverse(b bool) Option
- func ShowFooters(b bool) Option
- func Sort(s string) Option
- type Options
Constants ¶
View Source
const ( DefaultSortOption = "count" DefaultFormatOption = "table" DefaultLimitOption = 5000 DefaultOutputOption = "simple" DefaultPaginationLimit = 100 )
Variables ¶
View Source
var DefaultPercentilesOption = []int{}
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option func(*Options)
func BundleValues ¶
func BundleWhereIn ¶
func MatchingGroups ¶
func NoAbstract ¶
func PaginationLimit ¶
func Percentiles ¶
func ShowFooters ¶
type Options ¶
type Options struct {
File string `yaml:"file"`
Sort string `yaml:"sort"`
Reverse bool `yaml:"reverse"`
Format string `yaml:"format"`
NoHeaders bool `yaml:"noheaders"`
Limit int `yaml:"limit"`
MatchingGroups []string `yaml:"matching_groups"`
Filters string `yaml:"filters"`
PosFile string `yaml:"pos_file"`
NoSavePos bool `yaml:"nosave_pos"`
Output string `yaml:"output"`
Percentiles []int `yaml:"percentiles"`
BundleWhereIn bool `yaml:"bundle_where_in"`
BundleValues bool `yaml:"bundle_values"`
NoAbstract bool `yaml:"noabstract"`
PaginationLimit int `yaml:"pagination_limit"`
}
func NewOptions ¶
func SetOptions ¶
Click to show internal directories.
Click to hide internal directories.