generator

package
v0.0.0-...-45a52eb Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2023 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewGenerator

func NewGenerator(inputFiles []string, options ...Option) (*generator, error)

Types

type Lg

type Lg struct {
	// contains filtered or unexported fields
}

type Option

type Option func(config *generatorConfig) error

func DocVersion

func DocVersion(version string) Option

func Format

func Format(format string) Option

func PathPrefix

func PathPrefix(pathPrefix string) Option

func ProtoPaths

func ProtoPaths(paths []string) Option

func Servers

func Servers(servers []string) Option

func Title

func Title(title string) Option

func Verbose

func Verbose(verbose bool) Option

Jump to

Keyboard shortcuts

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