Documentation ¶
Index ¶
- Variables
- func InitAPIFunc(resource *crud.Resource)
- func InitEngine(resource *crud.Resource)
- func NewStringLoader() jet.Loader
- func Render(collection collection.Collection, fnName string, c *gin.Context) (map[string]interface{}, error)
- func Sort(key string, maps []bson.M, desc bool) []bson.M
- type MapsSort
Constants ¶
This section is empty.
Variables ¶
View Source
var ENGINE *engine.TemplateEngine
Functions ¶
func InitAPIFunc ¶ added in v1.0.17
func InitEngine ¶ added in v1.0.17
func NewStringLoader ¶
func NewStringLoader() jet.Loader
NewLoader returns an initialized loader serving the passed http.FileSystem.
func Render ¶
func Render(collection collection.Collection, fnName string, c *gin.Context) (map[string]interface{}, error)
根据名称进行匹配
Types ¶
Click to show internal directories.
Click to hide internal directories.