Set exp / html to Go

It seems that Go does not yet support tools / packages for HTML web analysis, even though it already provides XML cleaning through encoding/xml. So how can I install the package exp/htmlin Go?

As far as I know, all the answers, at least I came across the Internet with a 10-minute search, did not return the correct answer; when I tried to start them, I got an error cannot find package XXX in YYYor no Go source files in XXX.

So, for now, can I install it without recompiling and installing the entire Go environment from scratch? Or am I missing something?

I am on OS X 10.8 and run the version of Go 1.1 that I installed from the OS X package installer.

For your information, this code did not do this.

go get code.google.com/p/go/src/pkg/exp/html
go get code.google.com/p/go.exp/inotify

Thank.

+2
source share
2 answers

:

go get code.google.com/p/go.net/html

, , .

, exp net.

: .

+4

go 1.4 (9 2014 ) :

go get golang.org/x/net/html

:

+1

All Articles