- 授权协议: Artistic License/GPL
- 开发语言: Google Go
- 操作系统: Linux
- 软件首页: https://code.google.com/p/go-html-transform/
- 软件文档: http://go.pkgdoc.org/code.google.com/p/go-html-transform/html/transform
软件介绍
go-html-transform是使用Go语言实现的一个HTML解析器,并且有HTML5的支持,使用这个解析器可以让我们使用CSS选择器来操作DOM节点。
示例代码:
doc := NewDoc(str)
t := NewTransform(doc)
t.Apply(CopyAnd(myModifiers...), "li.menuitem")
t.Apply(Replace(Text("my new text"), "a")
newDoc := t.Doc()
Refactoring
Martin Fowler、Kent Beck、John Brant、William Opdyke、Don Roberts / Addison-Wesley Professional / 1999-7-8 / USD 64.99
Refactoring is about improving the design of existing code. It is the process of changing a software system in such a way that it does not alter the external behavior of the code, yet improves its int......一起来看看 《Refactoring》 这本书的介绍吧!
