Skip to content

Commit e663ec6

Browse files
authored
Merge pull request #369 from chey/patch-1
Update doc.go
2 parents bb2f73f + 2052854 commit e663ec6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ inside of Go `html/template` and `text/template` files.
66
77
To add these functions, use the `template.Funcs()` method:
88
9-
t := templates.New("foo").Funcs(sprig.FuncMap())
9+
t := template.New("foo").Funcs(sprig.FuncMap())
1010
1111
Note that you should add the function map before you parse any template files.
1212

0 commit comments

Comments
 (0)