Documentation ¶
Index ¶
- func FormatF(f float64, dec string) string
- func FormatFloat(f float64, prec int) string
- func Functions(name ...string) template.FuncMap
- func Layout(w http.ResponseWriter, dir_temp_paths, path_prefix string, msg FlashMessages, ...) error
- func LayoutWithFunc(w http.ResponseWriter, func_maps template.FuncMap, ...) error
- func ReadDate(field, layout string, r *http.Request, msg *FlashMessages) int64
- type Data
- type FlashMessage
- type FlashMessages
- type FormDates
- type Paths
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FormatFloat ¶ added in v0.5.1
func Layout ¶ added in v0.3.6
func Layout(w http.ResponseWriter, dir_temp_paths, path_prefix string, msg FlashMessages, temp_paths Paths, data Data) error
func LayoutWithFunc ¶ added in v0.4.2
func LayoutWithFunc(w http.ResponseWriter, func_maps template.FuncMap, dir_temp_paths, path_prefix string, msg FlashMessages, temp_paths Paths, data Data) error
Types ¶
type FlashMessage ¶ added in v0.3.6
type FlashMessages ¶ added in v0.3.6
type FlashMessages []*FlashMessage
func (*FlashMessages) Error ¶ added in v0.3.6
func (fm *FlashMessages) Error(format string, a ...any)
func (*FlashMessages) Info ¶ added in v0.3.6
func (fm *FlashMessages) Info(format string, a ...any)
func (*FlashMessages) Warning ¶ added in v0.5.1
func (fm *FlashMessages) Warning(format string, a ...any)
Click to show internal directories.
Click to hide internal directories.