Created
July 23, 2019 22:34
-
-
Save nileshsimaria/0fa94ae5341550d9b84e6798fda1e254 to your computer and use it in GitHub Desktop.
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" | |
"os" | |
) | |
func main() { | |
fmt.Println("len", len(os.Args)) | |
for _, arg := range os.Args[1:] { | |
fmt.Println(arg) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment