shippy-cli-consignment
This is part code of Microservices in Golang using go-micro
Structures
- shippy-service-consignment Is Consignment Service
- shippy-service-vessel Is Vessel Service
- shippy-cli-consignment Is Client that Consume Consignment Service (this code)
How to use
This code using go 1.14 and using go modules
Install deps
go mod download
go mod vendor
Run the service
go run main.go
Build service to binary
go build -o cli *.go