14 lines
331 B
Smarty
14 lines
331 B
Smarty
package handlers
|
|
|
|
import (
|
|
"github.com/gin-gonic/gin"
|
|
"github.com/iapologizewhenimwrong/Vestmore_GO/server/app/internal/handlers/actions"
|
|
)
|
|
|
|
var HandlersFuncRoutes map[string]gin.HandlerFunc = make(map[string]gin.HandlerFunc)
|
|
|
|
func init() {
|
|
{{- range .}}
|
|
HandlersFuncRoutes["{{.ActionName}}"] = actions.{{.FuncName}}
|
|
{{- end}}
|
|
} |