Documentation
¶
Index ¶
- func GetStatus(resp map[string]interface{}) bool
- func HandleError(w http.ResponseWriter, err error)
- func Message(status bool, message string) map[string]interface{}
- func ParseTemplateDir(dir string) (*template.Template, error)
- func RandomText(n int) []byte
- func Respond(w http.ResponseWriter, data map[string]interface{})
- func SendEmail(to string, subject string, data interface{}, emailTemp string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func HandleError ¶
func HandleError(w http.ResponseWriter, err error)
func RandomText ¶
func Respond ¶
func Respond(w http.ResponseWriter, data map[string]interface{})
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.