# 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
# Packages
Package categories is a generated protocol buffer package.
No description provided by the author
No description provided by the author
# Functions
proteus:generate.
proteus:generate.
proteus:generate.
proteus:generate.
proteus:generate.
No description provided by the author
No description provided by the author
No description provided by the author
proteus:generate.
proteus:generate.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
Type will be transformed into an enum.
No description provided by the author
# Structs
proteus:generate.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
Model is not marked for generation, so it won't be generated.
proteus:generate.
No description provided by the author
No description provided by the author
proteus:generate.
No description provided by the author
No description provided by the author
No description provided by the author
User will not be generated.
# Interfaces
No description provided by the author
No description provided by the author