To bootstrap new project:
- Clone or
go get
this repo
mkdir -p $GOPATH/src/github.com/lancer-kit/
cd $GOPATH/src/github.com/lancer-kit/
git clone https://github.com/lancer-kit/service-scaffold
### OR
go get github.com/lancer-kit/service-scaffold
- Go to scaffold directory and run
./init.sh
cd $GOPATH/src/github.com/lancer-kit/service-scaffold
sh ./init.sh
- Get
forge
— a tool for code generation:
go get -u github.com/lancer-kit/forge
cd $GOPATH/src/github.com/lancer-kit/service-scaffold
sh ./init.sh
Enter VCS domain (default: github.com): gitlab.com
Enter VCS username or group: inn4sci-go
Enter project name: api