getstarted

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 17, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Do

func Do(pkg string) int

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL