Categorygithub.com/harsimranmaan/go-jsonnet-func
repositorypackage
0.0.2
Repository: https://github.com/harsimranmaan/go-jsonnet-func.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author

# README

go-jsonnet-func

A collection of jsonnet native functions that can be easily used in tools written in Golang.

Supports the following functions for jsonnet:

  • sha256
  • parseUrl

Sprig functions are supported in experimental stage and can be added to the code generator to enable those.

The following Sprig functions are supported at the moment. This list would cover most of the Sprig functions in the future.

  • upper
  • snakecase
  • camelcase
  • kebabcase
  • decryptAES

Usage

The library can you used to extend jsonnet functionality offered by your application. To install run:

go get -u github.com/harsimranmaan/go-jsonnet-func

It can used in a sample program as shown in the example.