Versions in this module Expand all Collapse all v2 v2.0.0 Mar 13, 2024 Changes in this version + var DisableColor = false + var TemplateFuncsNoColor = map[string]interface + var TemplateFuncsWithColor = map[string]interface + func GetTemplatePair(tmpl string) ([2]*template.Template, error) + func IsFieldNotMatch(err error) (string, bool) + func RunTemplate(tmpl string, data interface{}) (string, string, error) + func WriteAnswer(t interface{}, name string, v interface{}) (err error) + type OptionAnswer struct + Index int + Value string + func OptionAnswerList(incoming []string) []OptionAnswer + type Settable interface + WriteAnswer func(field string, value interface{}) error