Documentation ¶ Index ¶ type Bundle func Load(nameOrPath string) (*Bundle, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Bundle ¶ type Bundle struct { Main string // content of main.html Cover string // content of cover.html, empty if absent Config []byte // content of default.yml, nil if absent } Bundle holds the raw template and config content for a document type. func Load ¶ func Load(nameOrPath string) (*Bundle, error) Load resolves a bundle by name (built-in) or directory path (local). Source Files ¶ View all Source files bundle.go Click to show internal directories. Click to hide internal directories.