Simple html to text converter.
go get github.com/causelovem/html2text
package main
import (
"fmt"
"github.com/causelovem/html2text"
)
func main() {
html := `<div><h1>some text</h1></div> <p>to be <b>cleared</b> </br> from "html" <tags></p>`
text := html2text.HTML2Text(html)
fmt.Println(text)
}