No description
- Go 100%
They add too much complexity for too little benefit. Turns out there's something good about logic-less templates after all, and I am a fool to notice it this late. That was an interesting experiment though. |
||
|---|---|---|
| spec | ||
| .editorconfig | ||
| .gitignore | ||
| .golangci.yml | ||
| compile.go | ||
| compile_test.go | ||
| data_test.go | ||
| doc.go | ||
| errors.go | ||
| execute.go | ||
| go.mod | ||
| go.sum | ||
| LICENSE | ||
| parse.go | ||
| parse_test.go | ||
| README.md | ||
| spec_test.go | ||
| template.go | ||
| truthy.go | ||
chevron
A Mustache 1.4.3+λ implementation in Go.
Documentation: https://pkg.go.dev/hazelnut.eclair.cafe/chevron
Discuss in #eclairs on Libera.Chat.
Features
chevron supports the following modules:
- Comment
- Delimiters
- Interpolation
- Inverted
- Partials
- Sections
- Dynamic names (optional)
Inheritance and lambda modules are not supported as they are incompatible with chevron's template model.
Installation
go get hazelnut.eclair.cafe/chevron
License
BSD-2-Clause
See LICENSE for more information.