Documentation ¶
Index ¶
- func NewStringLoader() jet.Loader
- func NewVars(resource *crud.Resource, result map[string]interface{}) jet.VarMap
- func Render(resource *crud.Resource, collection collection.Collection, fnName string, ...) (map[string]interface{}, error)
- func Sort(key string, maps []bson.M, desc bool) []bson.M
- type MapsSort
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewStringLoader ¶
func NewStringLoader() jet.Loader
NewLoader returns an initialized loader serving the passed http.FileSystem.
func Render ¶
func Render(resource *crud.Resource, collection collection.Collection, fnName string, body map[string]interface{}) (map[string]interface{}, error)
根据名称进行匹配
Types ¶
Click to show internal directories.
Click to hide internal directories.