Documentation ¶
Index ¶
- func ContainsString(needle string, haystack []string) bool
- func MakeError(c *gin.Context, tpl string, status int, error errors.KitSquidError, ...)
- func RandomColor(seedKey string) string
- func SendMail(recipient string, content *bytes.Buffer) error
- func SendTestMail(recipient string) error
- type TplCtx
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ContainsString ¶
ContainsString checks whether a list of strings contains a certain search string
func RandomColor ¶
RandomColor returns a randomly generated color code, using the given random seed
func SendMail ¶
SendMail uses SMTP to send a new e-mail to the given recipient address with the given content
func SendTestMail ¶
SendTestMail uses SMTP to send a new test e-mail for debugging purposes
Types ¶
Click to show internal directories.
Click to hide internal directories.