Created
September 12, 2022 19:51
-
-
Save shawnsmithdev/4a0aadd356f4d8a5cbf69f900927f913 to your computer and use it in GitHub Desktop.
Where am i? What is going on?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import "fmt" | |
import "runtime" | |
func main() { | |
fmt.Printf("OS: %s\n", runtime.GOOS) | |
fmt.Printf("Architecture: %s\n", runtime.GOARCH) | |
fmt.Printf("Go: %s\n", runtime.Version()) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment