|
1 year ago | |
---|---|---|
.. | ||
.gitignore | 1 year ago | |
.travis.yml | 1 year ago | |
LICENSE | 1 year ago | |
README.md | 1 year ago | |
appveyor.yml | 1 year ago | |
constructors.go | 1 year ago | |
default.go | 1 year ago | |
eval.go | 1 year ago | |
func.go | 1 year ago | |
lex.go | 1 year ago | |
loader.go | 1 year ago | |
node.go | 1 year ago | |
parse.go | 1 year ago | |
profile.sh | 1 year ago | |
ranger.go | 1 year ago | |
stress.bash | 1 year ago | |
template.go | 1 year ago |
Jet is a template engine developed to be easy to use, powerful, dynamic, yet secure and very fast.
extends
) and composition (block
/yield
, import
, include
)Version 4 brings a lot of bug fixes and improvements as well as updated documentation, but make sure to read through the breaking changes before making the jump.
An example application is available in the repository. Use go get -u github.com/CloudyKit/jet
or clone the repository into $GOPATH/github.com/CloudyKit/jet
, then do:
$ cd examples/todos; go run main.go
If you use IntelliJ there is a plugin available at https://github.com/jhsx/GoJetPlugin. There is also a very good Go plugin for IntelliJ – see https://github.com/go-lang-plugin-org/go-lang-idea-plugin. GoJetPlugin + Go-lang-idea-plugin = happiness!
All contributions are welcome – if you find a bug please report it.