go version -m $binary


On Friday, June 26, 2020 at 6:13:56 PM UTC+2 Marvin Renich wrote:

> When building a command with go build that imports modules, does the
> resulting executable contain information about which modules are
> included as well as their versions?
> If so, is there a tool available to extract that information from the
> executable? Can the information be retrieved from within the program
> (e.g. through the runtime package)?
> If not, would a request for this be received favorably?
> ...Marvin

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 

Reply via email to