Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -80,16 +80,16 @@ First of all, install the `quicktemplate` package
and [quicktemplate compiler](https://github.com/valyala/quicktemplate/tree/master/qtc) (`qtc`):

```
go get -u github.com/valyala/quicktemplate
go get -u github.com/valyala/quicktemplate/qtc
go get github.com/valyala/quicktemplate
go install github.com/valyala/quicktemplate/qtc@latest
```

If you using `go generate`, you just need put following into your `main.go`

Important: please specify your own folder (-dir) to generate template file

```
//go:generate go get -u github.com/valyala/quicktemplate/qtc
//go:generate go install github.com/valyala/quicktemplate/qtc@latest
//go:generate qtc -dir=app/views
```

Expand Down