
Security News
CVE Volume Surges Past 48,000 in 2025 as WordPress Plugin Ecosystem Drives Growth
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.
A HTML parse and a serializer for Go. GoHTML tries to keep semantic similar to JS-DOM API while trying to keep the API simple by not forcing JS-DOM model into GoHTML. Because of this GoHTML has node tree model. GoHTML tokenizer uses std net/html module for tokenizing in underlining layer. There for it's users responsibility to make sure inputs to GoHTML is UTF-8 encoded. GoHTML allows direct access to the node tree.
Run the following command in project directory in order to install.
go get github.com/udan-jayanith/GoHTML
Then GoHTML can import like this.
import (
GoHtml "github.com/udan-jayanith/GoHTML"
)
Heres an example of fetching a website and parsing and then using querying methods. Adapted for GoQuery.
res, err := http.Get("https://www.metalsucks.net/")
if err != nil {
t.Fatal(err)
}
defer res.Body.Close()
node, err := GoHtml.Decode(res.Body)
if err != nil {
t.Fatal(err)
}
nodeList := node.QuerySelectorAll(".left-content article .post-title")
for node := range nodeList.IterNodeList(){
println(node.GetInnerText())
}
Fully fledged documentation is available at go.pkg
Contributions are welcome and pull requests and issues will be viewed by an official.
FAQs
Unknown package
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
CVE disclosures hit a record 48,185 in 2025, driven largely by vulnerabilities in third-party WordPress plugins.

Security News
Socket CEO Feross Aboukhadijeh joins Insecure Agents to discuss CVE remediation and why supply chain attacks require a different security approach.

Security News
Tailwind Labs laid off 75% of its engineering team after revenue dropped 80%, as LLMs redirect traffic away from documentation where developers discover paid products.