Documentation
¶
Index ¶
Constants ¶
View Source
const (
SkipMockGen = "SKIP_MOCK_GEN"
)
Variables ¶
This section is empty.
Functions ¶
func Generate ¶
func Generate(opts GenerateOptions) error
Types ¶
type DescriptorWithPath ¶
type DescriptorWithPath struct {
*descriptor.FileDescriptorProto
ProtoFilePath string
}
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
}
Click to show internal directories.
Click to hide internal directories.