Skip to content

Golang: How to Show Go Environment Information

To show the go environment variables, execute the following command:

go env

To get them in code, you can use the following snippet:


Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.