Skip to content

Add sprig template function library #359

@anorm

Description

@anorm

What would you like to be added:

Add the Sprig library to templating to make commonly used templating functions available.

Function documentation: https://masterminds.github.io/sprig/

Integration documentation: https://pkg.go.dev/github.com/Masterminds/sprig

Why is this needed:

Sprig is the de facto standard library for templating functions in Go templating. This solves common issues observed when writing templates.

In my case, I currently need the coalesce function, but frequently also use other Sprig functions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions