Skip to content

Commit

Permalink
Update doc.go
Browse files Browse the repository at this point in the history
  • Loading branch information
chey authored May 17, 2023
1 parent 581758e commit 2052854
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ inside of Go `html/template` and `text/template` files.
To add these functions, use the `template.Funcs()` method:
t := templates.New("foo").Funcs(sprig.FuncMap())
t := template.New("foo").Funcs(sprig.FuncMap())
Note that you should add the function map before you parse any template files.
Expand Down

0 comments on commit 2052854

Please sign in to comment.