Skip to content

v3.1.0

Choose a tag to compare

@yznts yznts released this 03 Nov 11:20

Include new templatex function: slice.New

In this way, we are able to initialize slices right inside of templates:

{{ range (slice.New "foo" "bar" "baz") }}
...
{{ end }}