Discover Packages
github.com/rande/gonode
core
embed
package
Version:
v0.0.0-...-8f9ce2e
Opens a new window with list of versions in this module.
Published: Nov 12, 2023
License: MIT
Opens a new window with license information.
Imports: 10
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation Source Files Index Constants Variables Functions Types Configure(l, conf) ConfigureEmbedMux(mux, embeds, publicPath, logger) PageNotFound(res) type Embed type Embeds NewEmbeds() (a) Add(module, fs) (a) GetFilesByExt(ext) (a) GetModules() (a) ReadDir(module, path) (a) ReadFile(module, path)
Documentation
¶
View Source
var (
ErrUnableToFindEmbed = errors .New ("unable to find the embed file/directory")
ErrModuleDoesNotExist = errors .New ("module does not exist")
ErrInvalidTemplateRef = errors .New ("invalid template reference name")
)
Source Files
¶
Click to show internal directories.
Click to hide internal directories.