Skip to content
Sections
>> Trisquel >> Packages >> nabia >> devel >> golang-github-wellington-go-libsass-dev
nabia  ] [  aramo  ]

Package: golang-github-wellington-go-libsass-dev (0.9.2+git20181130.4ef5b9d-1)

Go wrapper for libsass, the only Sass 3.5 compiler for Go

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; }

Other Packages Related to golang-github-wellington-go-libsass-dev

  • depends
  • recommends
  • suggests

Download golang-github-wellington-go-libsass-dev

Download for all available architectures
Architecture Package Size Installed Size Files
all 251.5 kB1584 kB [list of files]