raminder
(Raminder)
December 26, 2022, 9:51pm
1
I have windows (Windows 11 Home core i7).
I tried installing godoc but it gives me an error i dont fully understand. Any help is much appreciated.
1. $ go install golang.org/x/tools/godoc@latest
*package golang.org/x/tools/godoc is not a main package*
eudore
(Eudore)
December 27, 2022, 2:08am
2
raminder:
godoc
golang.org/x/tools/cmd/godoc
install cmd/godoc
bright
(bright)
December 28, 2022, 6:23am
3
go intall golang.org/x/tools/cmd/godoc@latest
1 Like
raminder
(Raminder)
December 28, 2022, 4:13pm
4
yes it works… installs in my $GOPATH/bin directory.
and that path is not in my windows user $PATH, hence “command not found”… makes sense now… Thanks for the help.
system
(system)
Closed
March 28, 2023, 4:14pm
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.