Re: [go-nuts] total newbie: parse html to plaintext

2018-02-19 Thread Shawn Milochik
It's hard to help without some more information. - What have you tried? - Is your source a file on disk, a string in memory, or from an htttp.Response.Body? - What do you mean by "parse"? In general, you can have a look at the html[1] library, which should have everything you need. If

[go-nuts] total newbie: parse html to plaintext

2018-02-19 Thread Thomas Kaufmann
Hi there, I'm a C++-Developer. But how can I parse in Go a html-file to plaintext? In C++ I use the index() method (with position parameter). Than the algorithm is simple. But in golang it seems very complicated. The solutions in the web are not satisfied. Sorry. I'm a bloody newbie;-). o-o