Documentation ¶
Index ¶
Constants ¶
View Source
const ( HTML zint.Bitflag16 = 1 << (iota - 1) CSS JS Image Font )
Variables ¶
View Source
var Everything = Options{ Local: CSS | JS | Image, Remote: CSS | JS | Image, Minify: CSS | JS | Image, }
Everything is an Options struct with everything enabled.
Functions ¶
Types ¶
type LookupError ¶
LookupError is used when we can't look up a resource. This may be a non-fatal error.
func (*LookupError) Error ¶
func (e *LookupError) Error() string
type Options ¶
type Options struct { Root string Strict bool Quiet bool Local zint.Bitflag16 Remote zint.Bitflag16 Minify zint.Bitflag16 }
Options for Bundle().
func NewOptions ¶
NewOptions creates a new Options instance.
func (*Options) Commandline ¶
Commandline modifies the Options from the format accepted in the commandline tool's flags.
type ParseError ¶
ParseError indicates there was a parsing failure. This may be a non-fatal error.
func (*ParseError) Error ¶
func (e *ParseError) Error() string
Click to show internal directories.
Click to hide internal directories.