Closed tjaensch closed 6 years ago
Hi @tjaensch, thanks for letting me know about this. The package named was missing from the FromString
and Options
references (e.g. should be html2text.FromString
, and html2text.Options
).
I just merged the fix #27
Thanks again, take care. Please close this if you agree the problem is solved.
It's producing the following errors:
./test.go:6:2: imported and not used: "github.com/jaytaylor/html2text" ./test.go:50:15: undefined: FromString ./test.go:50:37: undefined: Options
This is the code from your README example:
package main
import ( "fmt"
)
func main() { inputHTML := `
Welcome to your new account on my service!
Here is some more information: