Documentation ¶ Index ¶ func Assets() fs.FS func ReadFile(name string) ([]byte, error) func UseFilesystem(val bool) type Config Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Assets ¶ func Assets() fs.FS Assets returns an fs.FS object pointing to the asset provider. func ReadFile ¶ func ReadFile(name string) ([]byte, error) func UseFilesystem ¶ func UseFilesystem(val bool) UseFilesystem configures whether to use local filesytem files or embedded ones. Types ¶ type Config ¶ type Config struct { UseFilesystem bool `help:"Use assets from the filesystem rather then the embedded binary" default:"false"` DebugTemplates bool `help:"Enable template debugging (disables caching)" default:"false"` } Source Files ¶ View all Source files assets.go assetutil.go Click to show internal directories. Click to hide internal directories.