Name | Modified | Size | Downloads / Week |
---|---|---|---|
Parent folder | |||
checksums.txt | 2024-01-31 | 280 Bytes | |
goi18n-2.4.0-darwin-amd64 | 2024-01-31 | 3.4 MB | |
goi18n-2.4.0-linux-amd64 | 2024-01-31 | 3.1 MB | |
goi18n-2.4.0-windows-amd64.exe | 2024-01-31 | 3.3 MB | |
README.md | 2024-01-31 | 908 Bytes | |
v2.4.0 source code.tar.gz | 2024-01-31 | 46.8 kB | |
v2.4.0 source code.zip | 2024-01-31 | 69.4 kB | |
Totals: 7 Items | 9.9 MB | 0 |
What's new
This release adds support for configurable template parsers in https://github.com/nicksnyder/go-i18n/pull/317.
By setting TemplateParser on LocalizeConfig it is now possible to:
* Disable template parsing (via IdentityParser)
* Set the template.Option on a text/template Template (via TextParser)
* Use a template parser that is not text/template
by implementing the Parser interface.
Full Changelog: https://github.com/nicksnyder/go-i18n/compare/v2.3.0...v2.4.0