assets

package
v1.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 3, 2022 License: Apache-2.0 Imports: 9 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Compiler

type Compiler interface {
	// Compile CSS from the in stream to out.
	Compile(in io.Reader, out io.Writer, includePaths ...string) error
}

A Compiler can compile to CSS

type LessCompiler

type LessCompiler struct{}

LessCompiler can compile Less to CSS

func (LessCompiler) Compile

func (lc LessCompiler) Compile(in io.Reader, out io.Writer, includePaths ...string) error

Compile Less to CSS

type ScssCompiler

type ScssCompiler struct{}

ScssCompiler can compile Sass to CSS

func (ScssCompiler) Compile

func (sc ScssCompiler) Compile(in io.Reader, out io.Writer, includePaths ...string) error

Compile Sass/Scss to CSS

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL