solved ex1.2

This commit is contained in:
Stephen McQuay 2016-07-27 21:46:24 -07:00
parent c8f07674f8
commit acd75f4b03
No known key found for this signature in database
GPG Key ID: 1ABF428F71BAFC3D
1 changed files with 13 additions and 0 deletions

13
ch1/ex1.2/main.go Normal file
View File

@ -0,0 +1,13 @@
// e1.2 solves Exercise 1.2
package main
import (
"fmt"
"os"
)
func main() {
for i, l := range os.Args {
fmt.Println(i, l)
}
}