go2proto
Generate Protobuf messages from given go structs. No RPC, not gogo syntax, just pure Protobuf messages.
Usage
package main
import "github.com/vc-assist/go2proto"
func main() {
err := go2proto.Generate(go2proto.GenerateOptions{
Filter: []string{"StructName", "StructName2"},
Packages: []string{"./path/to/package"},
Output: someIoWriter,
})
// ...
}