update dependencies (#6267)
Signed-off-by: hongming <coder.scala@gmail.com>
This commit is contained in:
2
vendor/github.com/Masterminds/sprig/v3/doc.go
generated
vendored
2
vendor/github.com/Masterminds/sprig/v3/doc.go
generated
vendored
@@ -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.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user