(golang) multiple main functions cannot be exist in main package

 

go: cannot find main module, but found ....

One more go source file was added, but main() function cannot be multiple in different files/same directory (package)

 

 

xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun

 

During Mac OS upgrade and xcode change, some soft links might not be updated to new xcode, so additional go utility installation showed some error. This issue can be resolved by below.

xcode-select --install

 

 

 

 

'Computing' 카테고리의 다른 글

play framework 실행 에러  (1) 2013.09.09
play framework  (0) 2013.07.26
The new iPad  (0) 2012.03.09
CentOS 5.5, mongoDB, node.js  (0) 2011.05.19
iphone opengl camera ar  (0) 2011.05.18