Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Set ¶
type Set map[string]struct{}
func NewFromSnapshot ¶
func NewFromSnapshot(snapshot []go_hook.FilterResult) Set
NewFromSnapshot expects snapshot to contain only strings, otherwise it panics
func NewFromValues ¶
func NewFromValues(values *go_hook.PatchableValues, path string) Set
NewFromValues expects values array to contain only strings, otherwise it panics
func (Set) Intersection ¶ added in v1.37.0
func (Set) MarshalJSON ¶ added in v1.36.9
Click to show internal directories.
Click to hide internal directories.