-
-
Save hyuki/f0359047148408923a984c36b47fb77f to your computer and use it in GitHub Desktop.
os.Args
This file contains 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" | |
"os" | |
) | |
func main() { | |
for index,cmd := range os.Args { | |
fmt.Printf("os.Args[%d] = %s\n", index,cmd) | |
} | |
} |
Author
hyuki
commented
Apr 9, 2018
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment