Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ErrOutputFilenameCollision indicates two proto files produce the same output filename. ErrOutputFilenameCollision = AppError("output filename collision") // ErrNameEmpty indicates an update_message or create_message annotation has an empty name. ErrNameEmpty = AppError("name must not be empty") // ErrInvalidName indicates an update_message or create_message annotation name is not a valid proto identifier. ErrInvalidName = AppError("not a valid proto identifier") // ErrMessageTypeField indicates a message-type field was found in an update/create message. ErrMessageTypeField = AppError("message-type fields are not allowed in update/create messages") )
Functions ¶
func RunGenProto ¶
RunGenProto implements the gen-proto subcommand: scans the input directory, generates intermediate *.update.proto / *.create.proto files into the same directory. Original proto files are not copied — they are already present.
Types ¶
Click to show internal directories.
Click to hide internal directories.