Added template functions: split
, toJSON
.
Example: {{ "1,2,3" | split "," | toJSON }}
in template will result in ["1","2","3"]
.
Updated from github.com/caarlos0/env/v6
to github.com/caarlos0/env/v10
.
Fixed golangci-lint warnings.
Full Changelog: v1.9...v1.10