Documentation
¶
Overview ¶
Package sassc mirrors the legacy SassC gem surface — SassC::Engine.new( template, style:).render — layered over the same pure-Go engine, since real applications still use both the modern sass-embedded and the older sassc API.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Engine ¶
type Engine struct {
// contains filtered or unexported fields
}
Engine mirrors SassC::Engine.
func NewEngine ¶
func NewEngine(template string, opts EngineOptions) *Engine
NewEngine mirrors SassC::Engine.new(template, **options).
type EngineOptions ¶
type EngineOptions struct {
Style Style
Syntax string // "scss" (default) or "sass"/"indented"
LoadPaths []string
}
EngineOptions mirrors SassC::Engine.new keyword options.
Click to show internal directories.
Click to hide internal directories.