cli

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: MIT Imports: 35 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run()

Run executes the g command line interface.

Types

type InstallReq added in v1.8.0

type InstallReq struct {
	Version string `` /* 517-byte string literal not displayed */
	Nouse   bool   `json:"nouse" description:"Don't use the version after installed." required:"false"`
}

type LsRemoteReq added in v1.8.0

type LsRemoteReq struct {
	Version string `` /* 576-byte string literal not displayed */
	Output  string `json:"output" description:"Output format. Optional values: json, text" required:"false"`
}

type LsReq added in v1.8.0

type LsReq struct {
	Output string `json:"output" description:"Output format. Optional values: json, text" required:"false"`
}

type UninstallReq added in v1.8.0

type UninstallReq struct {
	Version string `json:"version" description:"The specific go sdk version number(e.g. '1.21.4'). " required:"true"`
}

type UseReq added in v1.8.0

type UseReq struct {
	Version string `json:"version" description:"The specific go sdk version number(e.g. '1.21.4')." required:"true"`
}

Jump to

Keyboard shortcuts

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