Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v0.9.0 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: GPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	PkgFlag    string
	PluginFlag string
	OutFlag    string
)

Functions

func NewGenCmd

func NewGenCmd() (cmd *cobra.Command)

func NewGenerator

func NewGenerator() (g *generator, err error)

func NewRootCmd

func NewRootCmd() *cobra.Command

Types

type Option

type Option struct {
	Out        string
	PluginPath string
	PkgRoot    string
}

Jump to

Keyboard shortcuts

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