Back to

Command assets

Latest Go to latest

The latest major version is .

Published: Aug 13, 2020 | License: Apache-2.0 | Module:


Package main hosts the utility that converts binary assets into assets.gen.go file, so that they can be baked directly into the executable. Intended to be used only for small files, like HTML templates.

This utility is used via `go generate`. Corresponding incantation:

//go:generate go install
//go:generate assets
Documentation was rendered with GOOS=linux and GOARCH=amd64.

Jump to identifier

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to identifier