go build时的错误分析

2016/7/22 文章分类: GO语言错误处理

go build 错误一

如果出现:


warning: building out-of-date packages:

runtime/pprof

testing

regexp/syntax

regexp

installing these packages with 'go test -i' will speed future tests.

那么就是说明下面的包已经有修改过了,但是没有重新install
如果有标准的包过期,使用go install -a -v std来进行更新。

如果是自定义的包过期,重新调用go instal