Skip to content
This repository has been archived by the owner on Jun 5, 2021. It is now read-only.

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
admpub committed Jul 4, 2015
1 parent 9b5e09d commit ee714d3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func NewApp(path string, args ...string) *App {
ActionsPath: map[reflect.Type]string{},
ActionsNamePath: map[string]string{},
ActionsMethodRoute: make(map[string]map[string]string),
FuncMaps: defaultFuncs,
FuncMaps: DefaultFuncs,
VarMaps: T{},
filters: make([]Filter, 0),
StaticVerMgr: DefaultStaticVerMgr,
Expand Down
2 changes: 1 addition & 1 deletion template.go
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ import (
* XwebVer —— string
*/
var (
defaultFuncs template.FuncMap = template.FuncMap{
DefaultFuncs template.FuncMap = template.FuncMap{
"Now": Now,
"Eq": Eq,
"FormatDate": FormatDate,
Expand Down

0 comments on commit ee714d3

Please sign in to comment.