Documentation ¶ Index ¶ func Embed(file, packageName string, dirs ...string) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Embed ¶ func Embed(file, packageName string, dirs ...string) error Embed is a helper function that embeds assets from the given directories into a Go source file. It is designed to be called from some generator script, see example project to find out how it can be used. Types ¶ This section is empty. Source Files ¶ View all Source files asset_gen.go Click to show internal directories. Click to hide internal directories.