Documentation ¶ Index ¶ func Init(options *compactor.Options) error func Minify(content string) (string, error) func Optimize(options *compactor.Options, file *compactor.File) error func Plugin() *compactor.Plugin Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Init ¶ added in v0.0.12 func Init(options *compactor.Options) error Init processor func Minify ¶ added in v0.0.3 func Minify(content string) (string, error) Minify SVG content func Optimize ¶ added in v0.0.12 func Optimize(options *compactor.Options, file *compactor.File) error Optimize processor func Plugin ¶ added in v0.0.4 func Plugin() *compactor.Plugin Plugin return the compactor plugin instance Types ¶ This section is empty. Source Files ¶ View all Source files processor.go Click to show internal directories. Click to hide internal directories.