Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Logger *logger.Logger
Functions ¶
Types ¶
type JSONFilter ¶
type JSONFilters ¶
type JSONFilters struct { Logger *logger.Logger Filters []JSONFilter Selectors []string Pluck []string Flatten bool AsCSV bool }
func NewJSONFilters ¶
func NewJSONFilters(l *logger.Logger) *JSONFilters
NewJSONFilters create a json filter
func (*JSONFilters) Add ¶
func (f *JSONFilters) Add(property, operation string, value interface{})
func (*JSONFilters) AddRawFilters ¶
func (f *JSONFilters) AddRawFilters(rawFilters []string) error
AddRawFilters add list of raw filters
func (*JSONFilters) AddSelectors ¶
func (f *JSONFilters) AddSelectors(props ...string)
Click to show internal directories.
Click to hide internal directories.