mirror of
https://github.com/astaxie/beego.git
synced 2025-07-04 03:20:19 +00:00
added tests config/json_test that test missing key usecases. created a template function to fetch AppConfig values
This commit is contained in:
@ -44,6 +44,7 @@ func init() {
|
||||
beegoTplFuncMap["renderform"] = RenderForm
|
||||
beegoTplFuncMap["assets_js"] = AssetsJs
|
||||
beegoTplFuncMap["assets_css"] = AssetsCss
|
||||
beegoTplFuncMap["config"] = Config
|
||||
|
||||
// go1.2 added template funcs
|
||||
// Comparisons
|
||||
|
Reference in New Issue
Block a user