Is there a way I can use go list to get this information, or a helper
function somewhere that does this? (The go tool must have this capacity
since go get depends on it when grabbing dependencies).
thanks
Dan
Dan Kortschak
unread,
Dec 23, 2019, 11:21:55 PM12/23/19
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
Solved thanks to Daniel Martí; use `go list -json` and grab the Module
struct out of that.