DevBits
Home
Atlas
Play
About
Sign up
Log in
All
Go
flag.Int()
Examples using...
flag.Int()
Recent
OS Process
Parse Command-line Flags
Parse Command-line Flags in Go
by yhuang
Go
flag.Int
fmt.Println
flag
flag.Args
flag.Bool
Go provides a flag package supporting basic command-line flag parsing. We’ll use this package to implement our example command-line program.