cli

package
v0.0.0-...-41d41ad Latest Latest
Warning

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

Go to latest
Published: Oct 28, 2025 License: MIT Imports: 35 Imported by: 0

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

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"`
	SkipChecksum bool   `json:"skip-checksum" description:"Skip checksum verification." required:"false"`
}

type LsRemoteReq

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

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

type UninstallReq

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

type UseReq

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