sprig icon indicating copy to clipboard operation
sprig copied to clipboard

Useful template functions for Go templates.

Results 179 sprig issues
Sort by recently updated
recently updated
newest added

Helm is using sprig as a source of extended functions. In helm url encode and decode functions would be useful i think. So it would be great to add them...

Currently, the `merge` function does not allow for merging lists, instead the merged in list overwrites the list. This feature request is for a new merge `mergeWithAppendSlice`, which concatenates two...

First off, thank you for this library! I use it every day via the [go-task](https://github.com/go-task/task) project. I have been migrating projects from rake to go-task and one of the things...

# How to reproduce The code below produces the error `... at : wrong type for value; expected []interface {}; got []string` ``` {{- $ips := splitList "," "1.1.1.1,2.2.2.2" -}}...

I'm trying to use the v3 version. When I add `import "github.com/Masterminds/sprig"` I end up receiving the v2 version in my go.mod and package directory If I try to manually...

bug

Adding function to generate deterministic random strings of digits based on the given seed. - added function - added tests - added documentation

Hi Can you tell me if there is any way to generate public and private ssh rsa keys using sprig I mean the equivalent to running ssh-keygen ? Thanks

question

Examples of unsafe functions are * `env` exposes process information Others?

There are two minor typos in the documentation of float math functions