[ Källkod: golang-github-valyala-quicktemplate ]
Paket: golang-github-valyala-quicktemplate-dev (1.7.0+ds1-1)
Länkar för golang-github-valyala-quicktemplate-dev
Debianresurser:
Hämta källkodspaketet golang-github-valyala-quicktemplate:
- [golang-github-valyala-quicktemplate_1.7.0+ds1-1.dsc]
- [golang-github-valyala-quicktemplate_1.7.0+ds1.orig.tar.xz]
- [golang-github-valyala-quicktemplate_1.7.0+ds1-1.debian.tar.xz]
Ansvariga:
Externa resurser:
- Hemsida [github.com]
Liknande paket:
fast, powerful, yet easy to use template engine for Go (library)
Optimized for speed, zero memory allocations in hot paths. Up to 20x faster than html/template.
Inspired by the Mako templates philosophy.
Features:
* Extremely fast. Templates are converted into Go code and then compiled. * Quicktemplate syntax is very close to Go - there is no need to learn yet another template language before starting to use quicktemplate. * Almost all bugs are caught during template compilation, so production suffers less from template-related bugs. * Easy to use. * Powerful. Arbitrary Go code may be embedded into and mixed with templates. Be careful with this power - do not query the database and/or external resources from templates unless you miss the PHP way in Go :) This power is mostly for arbitrary data transformations. * Easy to use template inheritance powered by Go interfaces. * Templates are compiled into a single binary, so there is no need to copy template files to the server.
Drawbacks:
* Templates cannot be updated on the fly on the server, since they are compiled into a single binary. Take a look at fasttemplate (https://github.com/valyala/fasttemplate) if you need a fast template engine for simple dynamically updated templates.
Andra paket besläktade med golang-github-valyala-quicktemplate-dev
|
|
|
|
-
- dep: golang-github-valyala-bytebufferpool-dev
- Anti-memory-waste byte buffer pool for go
-
- dep: golang-github-valyala-fasthttp-dev
- fast HTTP library for Go
Hämta golang-github-valyala-quicktemplate-dev
Arkitektur | Paketstorlek | Installerad storlek | Filer |
---|---|---|---|
all | 33,7 kbyte | 239,0 kbyte | [filförteckning] |