Supported Types
ScalarFilter
SetFilter
Union Discrimination
Use theType field to determine which variant is active, then access the corresponding field:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
filter := components.CreateFilterScalarFilter(components.ScalarFilter{/* values here */})
filter := components.CreateFilterSetFilter(components.SetFilter{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch filter.Type {
case components.FilterTypeScalarFilter:
// filter.ScalarFilter is populated
case components.FilterTypeSetFilter:
// filter.SetFilter is populated
}
Was this page helpful?
Suggestions