podman

Форк
0
19 строк · 671.0 Байт
1
/*
2
Package sprig provides template functions for Go.
3

4
This package contains a number of utility functions for working with data
5
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())
10

11
Note that you should add the function map before you parse any template files.
12

13
	In several cases, Sprig reverses the order of arguments from the way they
14
	appear in the standard library. This is to make it easier to pipe
15
	arguments into functions.
16

17
See http://masterminds.github.io/sprig/ for more detailed documentation on each of the available functions.
18
*/
19
package sprig
20

Использование cookies

Мы используем файлы cookie в соответствии с Политикой конфиденциальности и Политикой использования cookies.

Нажимая кнопку «Принимаю», Вы даете АО «СберТех» согласие на обработку Ваших персональных данных в целях совершенствования нашего веб-сайта и Сервиса GitVerse, а также повышения удобства их использования.

Запретить использование cookies Вы можете самостоятельно в настройках Вашего браузера.