Documentation
¶
Index ¶
- func AskForInput(variable model.Variable, prefix string) (any, error)
- func AskToContinue() bool
- func ParseCustomType(variable model.Variable, customType []model.Variable) (interface{}, error)
- func ParseGoTextTemplate(templateContent string, variables map[string]any) (string, error)
- func ParseTemplate(template model.Template) (model.Template, error)
- func RenderTemplate(template model.Template) (string, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskForInput ¶
AskForInput simulates asking the user for input based on the variable type and description.
func AskToContinue ¶
func AskToContinue() bool
func ParseCustomType ¶
ParseCustomType handles parsing of custom types by asking for input for each field of the custom type.
func ParseGoTextTemplate ¶
func ParseTemplate ¶
ParseTemplate parses the template and updates its variables with filled values.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.