1 2 3 4 5 6 7 8 9 10 11
package templates import _ "embed" // needed for go:embed // Index holds the contents of the index.html template. //go:embed index.html var Index string // Package holds the contents of the package.html template. //go:embed package.html var Package string