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

cmd

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2024 License: MPL-2.0 Imports: 23 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BuildInfo

type BuildInfo struct {
	GoVersion string `json:"go,omitempty"`
	GoOS      string `json:"os,omitempty"`
	GoArch    string `json:"arch,omitempty"`
	Compiler  string `json:"compiler,omitempty"`
}

type CompletionCommand

type CompletionCommand struct {
	Ui cli.Ui
	// contains filtered or unexported fields
}

func (*CompletionCommand) Help

func (c *CompletionCommand) Help() string

func (*CompletionCommand) Run

func (c *CompletionCommand) Run(args []string) int

func (*CompletionCommand) Synopsis

func (c *CompletionCommand) Synopsis() string

type ServeCommand

type ServeCommand struct {
	Ui      cli.Ui
	Version string
	// contains filtered or unexported fields
}

func (*ServeCommand) Help

func (c *ServeCommand) Help() string

func (*ServeCommand) Run

func (c *ServeCommand) Run(args []string) int

func (*ServeCommand) Synopsis

func (c *ServeCommand) Synopsis() string

type VersionCommand

type VersionCommand struct {
	Ui      cli.Ui
	Version string
	// contains filtered or unexported fields
}

func (*VersionCommand) Help

func (c *VersionCommand) Help() string

func (*VersionCommand) Run

func (c *VersionCommand) Run(args []string) int

func (*VersionCommand) Synopsis

func (c *VersionCommand) Synopsis() string

type VersionOutput

type VersionOutput struct {
	Version string `json:"version"`

	*BuildInfo
}

Jump to

Keyboard shortcuts

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