- golang-golang-x-net-dev
- libsass-dev (>= 3.5.5~)
The only Sass compliant Go library! go-libsass is a wrapper to the
sass/libsass (http://github.com/sass/libsass) project.
.
Basic example:
.
buf := bytes.NewBufferString("div { p { color: red; } }")
if err != nil {
log.Fatal(err)
} comp, err := libsass.New(os.Stdout, buf) if err != nil {
log.Fatal(err)
}
.
if err := comp.Run(); err != nil {
log.Fatal(err)
}
.
Output:
.
div p {
color: red; }
Installed Size: 1.6 MB
Architectures: all