package
module
Version:
v0.0.0-...-e68362a
Opens a new window with list of versions in this module.
Published: Oct 20, 2022
License: MIT
Opens a new window with license information.
Imports: 9
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
* go-webassets
#+begin_src go
package main
import (
"fmt"
"io/ioutil"
webassets "github.com/honmaple/go-webassets"
)
func main() {
files := []string{"scss/main.scss"}
filters := []string{"libscss", "cssmin"}
assets := webassets.New()
r, err := assets.Run(files, filters)
if err != nil {
fmt.Println(err)
return
}
b, _ := ioutil.ReadAll(r)
fmt.Println(string(b))
}
#+end_src
Documentation
¶
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.