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/43d7eafd-03a9-4363-a199-470c739b6febn%40googlegroups.com.

Reply via email to