Added -d flag in 'go get' command, otherwise it was trying to install the package and build was failing.