Thanks Krzysztof that was the issue. For cloning the repo I used:-
git clone https://github.com/jabong/florest/
So in mac my code checked out in a directory florest. But the actual repo
name was https://github.com/jabong/floRest/ and in code it was referenced as
floRest which was causing the
My guess is that's because Mac filesystem is case preserving but not
case-sensitive, meaning that in mac os "floRest" and "florest" is the same
file/directory while on linux those are 2 distinct files. (you can
configure mac filesystem to be case-sensitive as well, but that's not the
default).
Below is the ouput using the -x flag:-
jabongs-MacBook-Pro-4:florest debraj$ go get -x ./...
WORK=/var/folders/lp/3q9_2mn51hd9s4yj_jcf3jxmgp/T/go-build665863426
mkdir -p $WORK/github.com/jabong/floRest/src/examples/_obj/
mkdir -p $WORK/github.com/jabong/floRest/src/
cd
Hi
On Mac OS X 10.11.4 *go get* is failing with the below error.
jabongs-MacBook-Pro-4:florest debraj$ go get ./...
go install github.com/jabong/florest/src/common/config: open /var/folders/lp
/3q9_2mn51hd9s4yj_jcf3jxmgp/T/go-build823644730/github.com/jabong/
florest/src/common/config.a: no