Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Functions ¶
func GetIndexOutside ¶
func UnwrapArray ¶
Types ¶
type Option ¶
type Option struct { Name string DefaultValue any Type Type Optional bool PossibleValues []string Options []Option }
func AppendOptions ¶
func Compare ¶
Compare checks if raw array of strings e.g. "name=Linus,lastname=Torvalds" are applicable into rule's set of options e.g. {name?:string,lastname:int=0} Returns user modified array of options
func ParseOptions ¶
Click to show internal directories.
Click to hide internal directories.