cmd

package
v0.10.15 Latest Latest
Warning

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

Go to latest
Published: Sep 6, 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 DescriptorWithPath

type DescriptorWithPath struct {
	*descriptor.FileDescriptorProto

	ProtoFilePath string
}

type DocsOptions

type DocsOptions = options.DocsOptions

type GenerateOptions

type GenerateOptions struct {
	RelativeRoot  string
	CompileProtos bool
	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