Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Do ¶
Do writes a default protobuf file to the current directory, in a file named based on the 'pkg' param, defaulting to "getstarted.proto" if pkg is empty. If the file exists, Do prints a warning and returns a non-zero exit code. The non-zero exit code is to enable using the return from this function in os.Exit().
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.