convert

package
v1.5.0 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewConverterWithOptions

func NewConverterWithOptions(o *Options) *nodeConverter

NewConverterWithOptions create nodeConverter

Types

type Config added in v0.7.0

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

Config has the information that required by convert operation

type Options

type Options struct {
	Version bool
	// contains filtered or unexported fields
}

Options has the information that required by convert operation

func NewConvertOptions

func NewConvertOptions() *Options

NewConvertOptions creates a new Options

func (*Options) AddFlags added in v0.7.0

func (o *Options) AddFlags(fs *pflag.FlagSet)

AddFlags sets flags.

func (*Options) Validate added in v0.7.0

func (o *Options) Validate() error

Validate validates Options

Jump to

Keyboard shortcuts

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