Project build could not find the package
Workaround:
Eclipse Read Gopath is not correct, in the project properties go Compiler The default option is removed, complete gopath
Check Godep.json confirm the corresponding code in the corresponding location can be found, here is the main code.google.com code, because Google closed the relevant site, in GODEP save when the code is not captured, Generally go to GitHub to find the corresponding clone on it, note rev to change to the SHA string on GitHub, note that there are version differences
Go get get to the DEP version is not correct, use GODEP Restore to get the code again
Goclipse Debug/run cannot execute go Test error: program file does not exist
Workaround:
Modify 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
Configuring Debug Conifgration
Debugger Tab,gdb Path:
/usr/local/bin/gdb
This article from "Wei View the World" blog, reproduced please contact the author!
"Mac OSX" runs some small pits in eclipse for go test