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

create

package
v1.16.2 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2026 License: MPL-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmd

func NewCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewCmd creates a new cobra command.

func NewWorkspaceCmd

func NewWorkspaceCmd(globalFlags *flags.GlobalFlags) *cobra.Command

NewWorkspaceCmd creates a new command.

Types

type WorkspaceCmd

type WorkspaceCmd struct {
	*flags.GlobalFlags
}

WorkspaceCmd holds the cmd flags.

func (*WorkspaceCmd) Run

func (cmd *WorkspaceCmd) Run(
	ctx context.Context,
	stdin io.Reader,
	stdout io.Writer,
	stderr io.Writer,
) error

Jump to

Keyboard shortcuts

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