project build 找不到 package
解決辦法:
eclipse 讀取GOPATH不對,在項目屬性Go Compiler 裏面去除默認選項,填寫完整的GOPATH
查看Godep.json 確認對應代碼在相應位置可以找到,這裏主要有是code.google.com下的代碼,因爲谷歌關閉了相關站點,在godep save的時候獲取不到代碼照成的,一般來講去github上找到對應的clone就好,注意Rev要修改成github上的SHA串,注意這裏有版本差異
go get獲取到的dep版本不對,使用godep restore 重新獲取代碼
解決辦法:
修改debug conifgration
a.build arguments:
test -x -c -v -gcflags "-N -l" xxx.com/xxx/xxx
b.path of launtch:
${workspace}/bin/xxxx_xxx.test
c.build-type:
build-tests
3.run gdb --version :unknow reason
配置debug conifgration
debugger tab,gdb path:
/usr/local/bin/gdb