mkdir -p /tmp/dev-cli-kintone/src
Note: "/tmp/dev-cli-kintone" is the path to project at local, can be changed to match with the project at local of you.
export GOPATH=/tmp/dev-cli-kintone
cd ${GOPATH}/src
git clone https://github.com/kintone/cli-kintone.git
cd ${GOPATH}/src/cli-kintone
go get github.com/mattn/gom
sudo ln -s $GOPATH/bin/gom /usr/local/bin/gom # Link package gom to directory "/usr/local/" to use globally
gom -production install
mv vendor/ src
gom build
Copyright(c) Cybozu, Inc.