vendor dependencies with dep

This commit is contained in:
dhax 2017-09-25 20:20:52 +02:00
parent 93d8310491
commit 1384296a47
2712 changed files with 965742 additions and 0 deletions

23
vendor/github.com/vanng822/css/README.md generated vendored Normal file
View file

@ -0,0 +1,23 @@
# css
Package css is for parsing css stylesheet.
# Document
[![GoDoc](https://godoc.org/github.com/vanng822/css?status.svg)](https://godoc.org/github.com/vanng822/css)
# example
import (
"github.com/vanng822/css"
"fmt"
)
func main() {
csstext = "td {width: 100px; height: 100px;}"
ss := css.Parse(csstext)
rules := ss.GetCSSRuleList()
for _, rule := range rules {
fmt.Println(rule.Style.SelectorText)
fmt.Println(rule.Style.Styles)
}
}