How to use "go/build".ImportDir to get Package struct?
69 views
Skip to first unread message
Hein Meling
unread,
Sep 17, 2020, 7:28:55 AM9/17/20
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 all,
I'm trying to get info about the package, but the code below returns an empty build.Package struct... Anyone know how to use this API to get a populated Package struct?