interface
DefaultOption
type DefaultOption interface {
StringOption
NumberOption
CheckboxOption
SelectOption
}Options accepted by scalar fields with defaults.
StringOptionStringOption- The StringOption value.
NumberOptionNumberOption- The NumberOption value.
CheckboxOptionCheckboxOption- The CheckboxOption value.
SelectOptionSelectOption- The SelectOption value.
Only option values returned by this package implement the sealed marker. The narrow interface makes incompatible builder options a compile-time error.