3 ms·
Yes you can! It's one of the first times I even thought about offline docs that are rendered like that: godoc -http=:6060 Will do it for you. Then just visi
by giancarlostoro 7y ago
Yes you can! It's one of the first times I even thought about offline docs that are rendered like that:
godoc -http=:6060
Will do it for you. Then just visit localhost:6060
- dmitris 7y agoThe current problem though is that it requires all your code + all the dependencies to be under $GOPATH/src. https://github.com/golang/go/issues/33655 https://github.com/golang/go/issues/33655 starts with: "At this time, the godoc command is only able to display packages that are located in a GOPATH workspace."