How do I access command-line arguments in Go? They\'re not passed as arguments to main.
main
A complete program, possibly created by linking m
Command line arguments can be found in os.Args. In most cases though the package flag is better because it does the argument parsing for you.