aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/html/pages/generated.go
Commit message (Collapse)AuthorAgeFilesLines
* pkg/html/pages: switch to go:embedDmitry Vyukov2022-05-231-408/+0
| | | | | | | | | | We use clumsy generate scripts that embed some static files. Switch to the new go:embed thing (added in Go 1.16): https://pkg.go.dev/embed It's much nicer, does not require separate generate step and does not lead to additional diffs in code reviews. go:embed can only embed "files read from the package directory or subdirectories", so we need to move these assets to the package dir.
* pkg/html: move some functions to sub-packageDmitry Vyukov2022-05-231-0/+408
Move functions that need embed assets to a separate package. In preparation for the next change.