一 简介
用于运行命令源码文件。
只能接受一个命令源码文件以及若干个库源码文件作为文件参数。
其内部执行步骤是:先编译源码文件再运行

二 goc2p项目介绍
1、项目地址
2、项目说明
《go并发编程实战》的示例项目
3、项目安装
用git clone获取项目,并将其根目录作为一个工作区
4、ds命令和pds命令

三 go run命令实战
[root@localhost ds]# cd ~
[root@localhost ~]# ls |grep go
go1.8.3.linux-amd64.tar.gz
gobin
goc2p
golib
goproject
[root@localhost ~]# cd goc2p/src/helper/ds
[root@localhost ds]# ls
showds.go
[root@localhost ds]# go run showds.go
/root/goc2p/src/helper/ds:
showds.go
[root@localhost ds]# go run showds.go -p ~/goc2p/src