Golang version of Template-Nest
Go to file
2025-12-02 00:58:43 +05:30
tests Treat empty hash as nil 2025-12-02 00:58:43 +05:30
.gitattributes Add initial nest version, add tests 2024-11-16 09:50:24 +05:30
go.mod Add initial nest version, add tests 2024-11-16 09:50:24 +05:30
go.sum Add initial nest version, add tests 2024-11-16 09:50:24 +05:30
README.org Treat empty hash as nil 2025-12-02 00:58:43 +05:30
template_nest.go Treat empty hash as nil 2025-12-02 00:58:43 +05:30

Template Nest

Template Nest is a template engine module for Go, designed to process nested templates quickly and efficiently.

For more details on the idea behind Template::Nest read: https://metacpan.org/pod/Template::Nest#DESCRIPTION and https://pypi.org/project/template-nest/.

News

v0.1.6 - 2025-12-02

  • Treat empty hash as nil Tom: I think that if go's behaviour is to insert an empty map when nil is returned as a templatenest.Hash, then we need to change the templatenest behaviour to regard an empty map as being nil.

v0.1.5 - 2025-02-22

  • Handle all pointer types generically.

v0.1.4 - 2025-01-09

  • Fix nil pointer dereference error.

v0.1.3 - 2024-11-24

  • Fix handling of numeric types. Earlier numeric values would result in an error (value type not supported), this was due to a programming error. I've fixed the error and added support for more numeric types.

v0.1.0 - 2024-11-18

  • Initial Release.