Skip to content

lancer-kit/service-scaffold

Repository files navigation

Go Web-Service Scaffold

To bootstrap new project:

  1. 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
  1. Go to scaffold directory and run ./init.sh
cd $GOPATH/src/github.com/lancer-kit/service-scaffold
sh ./init.sh
  1. Get forge — a tool for code generation:
go get -u github.com/lancer-kit/forge

Example

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published