Discover Packages
github.com/valyala/quicktemplate
examples
basicserver
command
Version:
v1.8.0
Opens a new window with list of versions in this module.
Published: Jul 4, 2024
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
An example demonstrating basic usage of quicktemplate
as template engine and fasthttp as http server.
Just run make
to see the example in action.
Run make generate run
after modifying template files .
Expand ▾
Collapse ▴
Documentation
¶
The following line is needed for generating go code from templates
with `go generate`.
See https://blog.golang.org/generate for more info.
Quicktemplate compiler (qtc) must be installed before running
`go generate`:
go get -u github.com/valyala/quicktemplate/qtc
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.