Skip to content

Commit 906dade

Browse files
authored
Add a query for available event types (#65)
* Add a query for available event types Shows type, count, first seen, last seen. Much like the query in Telemetry. * Change language from "event" to "cloudEvent" * Fix this protobuf generation headache We were not putting the Go-specific binaries in ./bin, so you tended to get whatever the system had.
1 parent f8c9d9c commit 906dade

9 files changed

Lines changed: 646 additions & 7 deletions

File tree

Makefile

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,12 @@ endif
9595
mv $(PATHINSTBIN)/protoclib/include $(PATHINSTBIN)/
9696
rm $(PATHINSTBIN)/protoc.zip
9797

98-
make tools: tools-golangci-lint tools-protoc ## install all tools
98+
tools-protoc-plugins: ## install protoc-gen-go and protoc-gen-go-grpc from go.mod tool directive
99+
@mkdir -p $(PATHINSTBIN)
100+
GOBIN=$(PATHINSTBIN) go install google.golang.org/protobuf/cmd/protoc-gen-go
101+
GOBIN=$(PATHINSTBIN) go install google.golang.org/grpc/cmd/protoc-gen-go-grpc
102+
103+
make tools: tools-golangci-lint tools-protoc tools-protoc-plugins ## install all tools
99104

100105
gqlgen: ## Generate gqlgen code.
101106
@go tool gqlgen generate

internal/graph/base.resolvers.go

Lines changed: 22 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)