cmd

package
v1.0.1-rc1 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	Format *cobra.Command
)
View Source
var Gen = &cobra.Command{
	Use:   "gen",
	Short: "generators",
}
View Source
var Patch = &cobra.Command{
	Use:   "patch",
	Short: "patch code to go root",
}

Functions

func FormatRoot

func FormatRoot(group, root string, verbose bool) error

func ModulePath

func ModulePath(path string) (string, error)

func MustFormatRoot

func MustFormatRoot(group, root string)

func PrepareArgs

func PrepareArgs()

Types

type Generator

type Generator interface {
	Output(cwd string)
}

Jump to

Keyboard shortcuts

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