Supported Types
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.
inputsUnion := components.CreateInputsUnionStr(string{/* values here */})
inputsUnion := components.CreateInputsUnionArrayOfInputsUnion1([]components.InputsUnion1{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch inputsUnion.Type {
case components.InputsUnionTypeStr:
// inputsUnion.Str is populated
case components.InputsUnionTypeArrayOfInputsUnion1:
// inputsUnion.ArrayOfInputsUnion1 is populated
}