feat: add go protobuf generation (#6)

* feat: add go protobuf generation

* ci: check go protbuf generation

* refactor: use 'namely/protoc-all:1.51_1' to compile the proto instead of locally binary

* refactor: no need to add the 'bin/' igore

* chore: modify code format

* refactor: add some comments to describe our modification
This commit is contained in:
zyy17
2023-02-15 15:10:17 +08:00
committed by GitHub
parent 3e6349be12
commit 36147379c3
33 changed files with 9755 additions and 8 deletions
+3 -1
View File
@@ -14,7 +14,9 @@
syntax = "proto3";
package prometheus;
option go_package = "prompb";
// GreptimeTeam modify the original go_package definition to make it constistent with the go package name.
// And we also remove the gogoproto dependency which is now deprecated.
option go_package = "github.com/GreptimeTeam/greptime-proto/go/prometheus/remote";
import "prometheus/remote/types.proto";
+3 -1
View File
@@ -14,7 +14,9 @@
syntax = "proto3";
package prometheus;
option go_package = "prompb";
// GreptimeTeam modify the original go_package definition to make it constistent with the go package name.
// And we also remove the gogoproto dependency which is now deprecated.
option go_package = "github.com/GreptimeTeam/greptime-proto/go/prometheus/remote";
message MetricMetadata {
enum MetricType {