Version: v10.7.0+incompatible Latest Latest

This package is not in the latest version of its module.

Go to latest
Published: Aug 22, 2018 License: BSD-3-Clause Imports: 2 Imported by: 0


First of all, install quicktemplate package and quicktemplate compiler

go get -u github.com/valyala/quicktemplate
go get -u github.com/valyala/quicktemplate/qtc

The example has the Go code compiled already for you, therefore:

go run main.go # http://localhost:8080

However there is an instruction below, full documentation can be found at https://github.com/valyala/quicktemplate.

Save your template files into templates folder under the extension *.qtpl, open your terminal and run qtc inside this folder.

If all went ok, *.qtpl.go files must appear in the templates folder. These files contain the Go code for all *.qtpl files.

Remember, each time you change a a /templates/*.qtpl file you have to run the qtc command and re-build your application.


The Go Gopher

There is no documentation for this package.

Source Files


Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL