ETAs Service (#31)

This commit is contained in:
ben-toogood
2020-12-15 14:11:34 +00:00
committed by GitHub
parent 47f52e4a2f
commit da97810f24
15 changed files with 1437 additions and 0 deletions

23
etas/Makefile Normal file
View File

@@ -0,0 +1,23 @@
GOPATH:=$(shell go env GOPATH)
.PHONY: init
init:
go get -u github.com/golang/protobuf/proto
go get -u github.com/golang/protobuf/protoc-gen-go
go get github.com/micro/micro/v3/cmd/protoc-gen-micro
.PHONY: proto
proto:
protoc --proto_path=. --micro_out=. --go_out=:. proto/etas.proto
.PHONY: build
build:
go build -o etas *.go
.PHONY: test
test:
go test -v ./... -cover
.PHONY: docker
docker:
docker build . -t etas:latest