Locations Service (#34)

* Locations Proto

* Add Read RPC

* Locations Service

* Add read locks
This commit is contained in:
ben-toogood
2021-01-08 09:20:22 +00:00
committed by GitHub
parent 9971d97582
commit de2c437c41
14 changed files with 1770 additions and 0 deletions

18
locations/Makefile Normal file
View File

@@ -0,0 +1,18 @@
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/locations.proto
.PHONY: build
build:
go build -o locations *.go
.PHONY: test
test:
go test -v ./... -cover