package
0.0.0-20200501010459-b7075082be83
Repository: https://github.com/charm-jp/proteus.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author

# README

Proteus examples

This example shows how to use proteus for a typical use case. Imagine you have your Go models and you need to generate some .proto files to match that models. It has some entities like the ones you could have on a database.

To generate the .proto you can use the proteus binary:

proteus proto -p github.com/src-d/proteus/example \
              -f $GOPATH/src/github.com/src-d/proteus/example/protos \
              --verbose

The generated file will be in:

$GOPATH/src/github.com/src-d/proteus/example/protos/github.com/proteus/example/generated.proto

You can also use make regenerate