mirror of
https://github.com/cloudflare/cloudflared.git
synced 2025-06-20 07:16:34 +00:00

## Summary Update several moving parts of cloudflared build system: * use goboring 1.24.2 in cfsetup * update linter and fix lint issues * update packages namely **quic-go and net** * install script for macos * update docker files to use go 1.24.1 * remove usage of cloudflare-go * pin golang linter Closes TUN-9016
20 lines
671 B
Go
20 lines
671 B
Go
/*
|
|
Package sprig provides template functions for Go.
|
|
|
|
This package contains a number of utility functions for working with data
|
|
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())
|
|
|
|
Note that you should add the function map before you parse any template files.
|
|
|
|
In several cases, Sprig reverses the order of arguments from the way they
|
|
appear in the standard library. This is to make it easier to pipe
|
|
arguments into functions.
|
|
|
|
See http://masterminds.github.io/sprig/ for more detailed documentation on each of the available functions.
|
|
*/
|
|
package sprig
|