cmd

package
v0.11.16 Latest Latest
Warning

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

Go to latest
Published: Dec 23, 2019 License: Apache-2.0 Imports: 22 Imported by: 8

Documentation

Index

Constants

View Source
const (
	SkipMockGen = "SKIP_MOCK_GEN"
)

Variables

This section is empty.

Functions

func Generate

func Generate(opts GenerateOptions) error

func Run

func Run(relativeRoot string, compileProtos bool, genDocs *DocsOptions, customImports, skipDirs []string) error

Types

type DocsOptions

type DocsOptions = options.DocsOptions

type GenerateOptions

type GenerateOptions struct {
	RelativeRoot string
	// compile protos found in project directories (dirs with solo-kit.json) and their subdirs
	CompileProtos bool
	// compile protos found in these directories. can also point directly to .proto files
	CustomCompileProtos []string
	GenDocs             *DocsOptions
	CustomImports       []string
	SkipDirs            []string
	// arguments for gogo_out=
	CustomGogoOutArgs []string
	// skip generated mocks
	SkipGenMocks bool
	// skip generated tests
	SkipGeneratedTests bool
}

Jump to

Keyboard shortcuts

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