(PCC)::[How-to-use-Command-line-arguments-to-parameterize-execution-of-programs-in-go-language]::[go]
package main import ( "fmt" "os" ) func main() { argsWithProg := os.Args argsWithoutProg := os.Args[1:] arg := os.Args[3] fmt.Println(argsWithProg) fmt.Println(argsWithoutProg) fmt.Println(arg) }