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:
@@ -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";
|
||||
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user