This question already has an answer here:
My Program:
package main
import (
"log"
"os"
)
func main() {
inputs := os.Args[1:]
log.Print(inputs)
}
When run with the command
go run filename.go 3001-3005 1->A,2->B,3->C,4->D,5->E
gives the output as [3001-3005 1-,2-,3-,4-,5-]
instead of [3001-3005 1->A,2->B,3->C,4->D,5->E]
</div>