Documentation ¶
Index ¶
- func Add(args ...int) int
- func BaseTemplates() []string
- func IncrementIndex(counter int, index uint64) int
- func MapGet(m map[string]interface{}, key string) string
- func MinUint64(args ...uint64) uint64
- func PluralType(member string) string
- func RenderError(w http.ResponseWriter, e error, status int)
- func RenderHTML(w http.ResponseWriter, templates []string, name string, data interface{}) error
- func RenderNotFound(w http.ResponseWriter, r *http.Request)
- func ShortType(member string) string
- func TimeFmt(ts, fmt string) string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func BaseTemplates ¶
func BaseTemplates() []string
func IncrementIndex ¶
func PluralType ¶
func RenderError ¶
func RenderError(w http.ResponseWriter, e error, status int)
func RenderHTML ¶
func RenderHTML( w http.ResponseWriter, templates []string, name string, data interface{}) error
func RenderNotFound ¶
func RenderNotFound(w http.ResponseWriter, r *http.Request)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.