File tree Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Expand file tree Collapse file tree 2 files changed +0
-3
lines changed Original file line number Diff line number Diff line change @@ -59,8 +59,6 @@ The following functions have been added in addition to the defaults available in
59
59
Returns current time object, e.g. ` {{ $t := time.Now }}{{printf "%d%d%d" $t.Year $t.Month $t.Day}} ` .
60
60
- ` time.Parse ` :
61
61
Parses string using layout into time object, e.g. ` {{ $t := time.Parse "2006-01-02" "2020-06-07"}} ` .
62
- - ` title ` :
63
- Makes the first letter of each word uppercase.
64
62
- ` upper ` :
65
63
Converts a string to uppercase.
66
64
Original file line number Diff line number Diff line change @@ -49,7 +49,6 @@ var tmplFuncs = gotemplate.FuncMap{
49
49
"lower" : strings .ToLower ,
50
50
"split" : strings .Split ,
51
51
"time" : func () * TimeFuncs { return & TimeFuncs {} },
52
- "title" : strings .Title ,
53
52
"upper" : strings .ToUpper ,
54
53
}
55
54
You can’t perform that action at this time.
0 commit comments