go version -m $binary runtime/debug.BuildInfo
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 https://groups.google.com/d/msgid/golang-nuts/a2816324-6b9d-4e98-b2da-7c31c8de2d05n%40googlegroups.com.