Documentation
¶
Index ¶
- Variables
- func CallMix(index string, mixData map[string]string) string
- func FrontMix(path string) map[string]string
- func GetTemplates(e *echo.Echo) map[string]*template.Template
- func WriteFile(fileContent string, path string)
- func WriteFileFormat(fileContent string, path string)
- type Paginator
- type Param
- type TemplateRegistry
Constants ¶
This section is empty.
Variables ¶
View Source
var Mix map[string]string
Functions ¶
func GetTemplates ¶
func WriteFileFormat ¶
Types ¶
type Paginator ¶
type Paginator struct {
//To int `json:"to"`
Total int `json:"total"`
LastPage int `json:"last_page"`
Data interface{} `json:"data"`
Offset int `json:"offset"`
Limit int `json:"limit"`
CurrentPage int `json:"current_page"`
PrevPage int `json:"prev_page"`
NextPage int `json:"next_page"`
}
Paginator
type TemplateRegistry ¶
type TemplateRegistry struct {
// contains filtered or unexported fields
}
Define the template registry struct
Click to show internal directories.
Click to hide internal directories.