Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DurationSmallerEqual ¶
func JSON ¶
func JSON(items []*gabs.Container, filters ...JSONFilter) []*gabs.Container
Filtering the JSON with OR between filters, but AND between the 'Matching' field inside the filter struct
func StrNotContains ¶
func StrNotEqual ¶
Types ¶
type ComparisonFunc ¶
type JSONFilter ¶
type JSONFilter struct {
Matching map[string]string // A map between json path to the value it will be compared to. The relation between them is AND
ComparisonFunc ComparisonFunc
}
Click to show internal directories.
Click to hide internal directories.