Groups
Groups
Sign in
Groups
Groups
golang-nuts
Conversations
About
Send feedback
Help
Go build but module-aware mode
277 views
Skip to first unread message
Richiise Nugraha
unread,
Jul 20, 2022, 10:04:48 AM
7/20/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
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
Amnon
unread,
Jul 20, 2022, 10:09:34 AM
7/20/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
I can't. My problem is that I can't access
github.com/xxxx/xxxx
.
Either it does not exist.
Or user xxxx has made the repo private on Github.
Reply all
Reply to author
Forward
0 new messages