First iteration of selfpass gRPC backend, w/ credentials CRUD functional

This commit is contained in:
mitchell 2019-04-14 20:56:55 -07:00
commit 719a462048
15 changed files with 1610 additions and 0 deletions

21
Makefile Normal file
View file

@ -0,0 +1,21 @@
.PHONY: all build clean format test
build: clean format test
go build -o ./bin/server ./cmd/server/server.go
clean:
rm -rf ./bin
go mod tidy
dev: build
./bin/server --dev
format:
goimports -w -l .
gen-protoc:
protoc --go_out=plugins=grpc:. \
./credentials/protobuf/service.proto
test:
go test -cover ./...