website: Index | Files

package gen

import ""

Package gen is used by content/static/makestatic.go to generate content/static/static.go.

This is a separate package so that it can be tested without build constraints. cmd/golangorg and other binaries should not depend on it.


Package Files


func Generate Uses

func Generate() ([]byte, error)

Generate reads a set of files and returns a file buffer that declares a map of string constants containing contents of the input files.

Package gen imports 7 packages (graph). Updated 2021-01-22. Refresh now. Tools for package owners.