You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Now that versioning exists in Go, it would be very useful if that version information was available from code inside a given module. Other information may also be useful, but the version number is of particular interest.
For example, being able to do something like the following would be very useful:
runtime's probably not the right place for it, but it was just the first thing that came to mind.
If this exists already or has been talked about before and I've just missed it, I apologize. I searched around on here, on Reddit, on Google, and just through the standard library documentation, too. I didn't see anything obvious.
The text was updated successfully, but these errors were encountered:
DeedleFake
changed the title
proposal: provide a means of getting information about current module
proposal: provide means of getting information about current module
Oct 29, 2018
Now that versioning exists in Go, it would be very useful if that version information was available from code inside a given module. Other information may also be useful, but the version number is of particular interest.
For example, being able to do something like the following would be very useful:
runtime
's probably not the right place for it, but it was just the first thing that came to mind.If this exists already or has been talked about before and I've just missed it, I apologize. I searched around on here, on Reddit, on Google, and just through the standard library documentation, too. I didn't see anything obvious.
The text was updated successfully, but these errors were encountered: