[Solve] cannot find package “golang.org/x/net/html”

If you have this error in Go programming that reads

cannot find package “golang.org/x/net/html” in any of:

It means x/net/html package is missing from the Go’s import path. I am going to paraphrase from “The Go Programming” book that says, The golang.org/x/… repositories hold packages designed and maintained by Go team for applications such as networking, internationalized text processing, mobile platforms, image manipulation, cryptography, and developer tools. These packages are not in the standard library because they’re still under development or because they’re rarely needed by the majority of Go Programmers.

So, The solution is to install these non-standard pacakges separately with `go get` tool. In this case,

go get golang.org/x/net/html

Now, you have x/net/html package available for use.

Happy Go Programming.