Skip to content

fmccann/gokogiri

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Gokogiri
by Zhigang Chen and Hampton Catlin

A pretty straightforward and simple library for using LibXML in native Go.

This is a major rewrite from v0 in the following places:

    - Separation of XML and HTML
    - Put more burden of memory allocation/deallocation on Go
    - Fragment parsing -- no more deep-copy
    - Serialization
    - Some API adjustment

To install

    - sudo apt-get install libxml2-dev
    - go get github.com/moovweb/gokogiri

To run test

    - go test github.com/moovweb/gokogiri/html
    - go test github.com/moovweb/gokogiri/xml

About

A light libxml wrapper for Go

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Go 93.1%
  • C 6.9%