generatemapper

package
v0.0.0-...-3e6eb1a Latest Latest
Warning

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

Go to latest
Published: Dec 6, 2024 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildCommand

func BuildCommand(baseOptions *options.GenerateOptions) *cobra.Command

func RunGenerateMapper

func RunGenerateMapper(ctx context.Context, o *GenerateMapperOptions) error

Types

type GenerateMapperOptions

type GenerateMapperOptions struct {
	*options.GenerateOptions

	APIGoPackagePath      string
	APIDirectory          string
	OutputMapperDirectory string
}

func (*GenerateMapperOptions) BindFlags

func (o *GenerateMapperOptions) BindFlags(cmd *cobra.Command)

func (*GenerateMapperOptions) InitDefaults

func (o *GenerateMapperOptions) InitDefaults() error

Jump to

Keyboard shortcuts

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