Generic datastore service with basic indexing and querying capabilities, ts client generation (#52)

This commit is contained in:
Janos Dobronszki
2021-02-03 13:20:07 +00:00
committed by GitHub
parent c19bf17fb5
commit a102d9e5f3
32 changed files with 5010 additions and 626 deletions

View File

@@ -7,8 +7,13 @@ init:
go get github.com/micro/micro/v3/cmd/protoc-gen-micro
.PHONY: proto
proto:
protoc --proto_path=. --micro_out=. --go_out=:. proto/users.proto
protoc --openapi_out=. --proto_path=. --micro_out=. --go_out=:. proto/users.proto
.PHONY: docs
docs:
protoc --openapi_out=. --proto_path=. --micro_out=. --go_out=:. proto/users.proto
@redoc-cli bundle api-protobuf.json
.PHONY: build
build:
go build -o users *.go

View File

@@ -1,7 +1,7 @@
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.23.0
// protoc v3.13.0
// protoc-gen-go v1.25.0
// protoc v3.6.1
// source: proto/users.proto
package users