go module name

58 views
Skip to first unread message

Trig

unread,
Aug 13, 2020, 3:01:35 PM8/13/20
to golang-nuts
Is there a way to get the go module name out of the go mod, if modules used, besides opening the go.mod file directly (or another obvious name to get the project name I'm not thinking of)?

Misha Gusarov

unread,
Aug 13, 2020, 3:19:50 PM8/13/20
to golang-nuts
go list -m

--
Misha
Reply all
Reply to author
Forward
0 new messages