by Zhigang Chen and Hampton Catlin
The main gokogiri repository is under under active development by the folks at Moovweb. This fork aims to:
- Make gokogiri easier to install with
go get
- Make API changes (where possible) to be more like Go's built-in XML support
- Add support for parts of libxml2 (like sax) not present in gokogiri
Towards this end, so far:
- rubex, a cgo wrapper around oniguruma, has been replaced with go's built-in regex
master
is the main development branch, based on thego1
branch, but with memory fixes from master patched in
A libxml2 wrapper for Go.
To install
- go get github.com/moovweb/gokogiri
To run test
- go test github.com/moovweb/gokogiri/html
- go test github.com/moovweb/gokogiri/xml