1
0
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:
Michael
2014-05-30 23:48:23 -05:00
parent 61008fe75c
commit a673a85d4a
3 changed files with 62 additions and 0 deletions

View File

@ -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