metaverse / truss

Truss helps you build go-kit microservices without having to worry about writing or maintaining boilerplate code.
Other
734 stars 143 forks source link

bundle gogo proto files so truss services can leverage those extensions #267

Closed zaquestion closed 5 years ago

zaquestion commented 5 years ago

Example:

proto

message EvalTriggerResponse {
  bool trigger = 1 [(gogoproto.moretags) = "bson:\"trigger\""];
}

generated

type EvalTriggerResponse struct {
    Trigger bool `protobuf:"varint,1,opt,name=trigger,proto3" json:"trigger,omitempty" bson:"trigger"`
}
mauricebutts commented 5 years ago

Can't wait!!