Documentation ¶
Index ¶
- func Contains(lookFor, has []string) (missing []string, allFound bool)
- func InArray(lookFor string, inArr []string) bool
- func InArrayInt(lookFor int, inArr []int) bool
- func IsANumber(s string, www http.ResponseWriter, req *http.Request) (nv int, err error)
- func RunTemplate(TemplateFn string, name_of string, g_data map[string]interface{}) string
- func RunTemplateInline(TemplateBody string, g_data map[string]interface{}) string
- func RunTemplateInlineInterface(TemplateBody string, g_data interface{}) string
- func RunTemplateInlineString(TemplateBody string, g_data map[string]string) string
- func RunTemplateString(TemplateFn string, name_of string, g_data map[string]string) string
- func ValidateTemplateHas(TemplateFn string, nameSet []string) (err error)
- func ValidateTemplates(fns ...string) (rv bool)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InArrayInt ¶
func RunTemplate ¶
RunTemplate runs a template and get the results back as a string. This is the primary template runner for sending email.
func RunTemplateInline ¶
func RunTemplateInlineString ¶
func RunTemplateString ¶
func ValidateTemplateHas ¶
- check that the template has all necessary named-temlates in it. (Function)
func ValidateTemplates ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.