Minimize Installation

  1. Install go 1.8+
  2. Clone the project
git clone git@github.com:go-chassis/go-chassis.git
  1. Use use go mod(go 1.11+, experimental but a recommended way)
cd go-chassis
GO111MODULE=on go mod download
#optional
GO111MODULE=on go mod vendor
  1. Install service-center
  2. Write your first http micro service

Use gRPC communication

follow https://developers.google.com/protocol-buffers/docs/gotutorial to install grpc

Write your first grpc micro service