I can't. My problem is that I can't access github.com/xxxx/xxxx <http://github.com/xxxx/xxxx@latest>. Either it does not exist. Or user xxxx has made the repo private on Github.
[image: Screenshot 2022-07-20 at 15.07.31.png] On Wednesday, 20 July 2022 at 15:04:48 UTC+1 rich...@gmail.com wrote: > Hi, is there any way to build source from given path@version just like `go > run` and `go mod`? > What i got: > > go build -o main_x github.com/xxxx/xxxx@latest > package github.com/xxxx/xxxx@latest: can only use path@version syntax > with 'go get' and 'go install' in module-aware mode > > (and maybe putting `GOARCH` and/or `GOOS`) > > Thanks > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/65c57e98-e186-42eb-8aa8-b4fb3e795895n%40googlegroups.com.