waybackurls icon indicating copy to clipboard operation
waybackurls copied to clipboard

Ubuntu - Go Get Error / Go Build Same Error - Can not Build/Execute /main.go:191: u.Hostname undefined (type *url.URL has no field or method Hostname)

Open aksuited opened this issue 7 years ago • 1 comments

go get -v github.com/tomnomnom/waybackurls
github.com/tomnomnom/waybackurls
# github.com/tomnomnom/waybackurls
./main.go:191: u.Hostname undefined (type *url.URL has no field or method Hostname)
/go/src/github.com/tomnomnom/waybackurls# go build
# github.com/tomnomnom/waybackurls
./main.go:191: u.Hostname undefined (type *url.URL has no field or method Hostname)

aksuited avatar Nov 13 '18 16:11 aksuited

I had the same problem. Update your golang version to the latest version. It should be solved.

HamzaAnis avatar Oct 01 '19 14:10 HamzaAnis