cmd

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const GVM = "gvm"

Variables

View Source
var (
	IsOffline   bool
	PackagePath string
)
View Source
var (
	IsRemote bool

	ListNumber int

	ListAll bool
)
View Source
var (
	GVMRCTemplateInUnix = `` /* 236-byte string literal not displayed */

)
View Source
var (
	Registry string
)
View Source
var (
	SetUpGVMInUnix = `
# gvm shell setup
if [ -f "${HOME}/gvm/.gvmrc" ]; then
    source "${HOME}/gvm/.gvmrc"
fi
`
)
View Source
var SupportMirrors = []string{
	"https://dl.google.com/go",
	"https://mirrors.aliyun.com/golang",
}
View Source
var Version string

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

This section is empty.

Jump to

Keyboard shortcuts

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