Skip to content

Commit

Permalink
Merge pull request #369 from chey/patch-1
Browse files Browse the repository at this point in the history
Update doc.go
  • Loading branch information
mattfarina committed Aug 29, 2024
2 parents bb2f73f + 2052854 commit e663ec6
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 e663ec6

Please sign in to comment.