a9e95bc05c
Simplifies and modernizes the go build process. Old vs new build times (without cache): - frontend: 185s vs 33s. - productcatalog: 190s vs 30s. - shippingservice: 200s vs 36s. - checkoutservice: 129s vs 27s. Signed-off-by: Ahmet Alp Balkan <ahmetb@google.com> |
||
---|---|---|
.. | ||
genproto | ||
.dockerignore | ||
Dockerfile | ||
README.md | ||
genproto.sh | ||
go.mod | ||
go.sum | ||
main.go | ||
quote.go | ||
shippingservice_test.go | ||
tracker.go |
README.md
Shipping Service
The Shipping service provides price quote, tracking IDs, and the impression of order fulfillment & shipping processes.
Local
Run the following command to restore dependencies to vendor/
directory:
dep ensure --vendor-only
Build
From src/shippingservice
, run:
docker build ./
Test
go test .