Skip to content

Improve 'default', add example, and add hermetic functions

Compare
Choose a tag to compare
@technosophos technosophos released this 30 Mar 21:45
· 435 commits to master since this release

This release adds the following:

  • default now prints the default value when it does not receive a value down the pipeline. It is much safer now to do {{.Foo | default "bar"}}.
  • Added accessors for "hermetic" functions. These return only functions that, when given the same input, produce the same output.