Created
February 7, 2017 06:56
-
-
Save forestsource/6864a030583aef6ee6c2e1bf0bb2a235 to your computer and use it in GitHub Desktop.
read Args in go
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 ( | |
| "os" | |
| ) | |
| fmt.Println("os.Args: ", os.Args) | |
| //output: string[./main arg1 arg2] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment