We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bb2f73f + 2052854 commit e663ec6Copy full SHA for e663ec6
doc.go
@@ -6,7 +6,7 @@ inside of Go `html/template` and `text/template` files.
6
7
To add these functions, use the `template.Funcs()` method:
8
9
- t := templates.New("foo").Funcs(sprig.FuncMap())
+ t := template.New("foo").Funcs(sprig.FuncMap())
10
11
Note that you should add the function map before you parse any template files.
12
0 commit comments