Hello world

摘要: 系统参数: os.Args 存放命令参数的字符串数组,其中os.Arg[0]为命令本身的路径,其余项存放输入的参数 例:$ go run myapp.exe -d /home os.Args[0]: 命令路径 os.Args[1]: "-d" os.Args[2]... 阅读全文
posted @ 2015-10-21 16:33 hershell 阅读(482) 评论(1) 推荐(1) 编辑