Skip to content

Instantly share code, notes, and snippets.

@nileshsimaria
Created July 23, 2019 22:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nileshsimaria/0fa94ae5341550d9b84e6798fda1e254 to your computer and use it in GitHub Desktop.
Save nileshsimaria/0fa94ae5341550d9b84e6798fda1e254 to your computer and use it in GitHub Desktop.
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