install_go

package
v0.0.0-...-2b6c6c3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2018 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultDownloadURLPrefix = "https://dl.google.com/go"

	// 上面地址不能访问将切换到下面地址
	StandbyDownloadURLPrefix = "http://216.58.200.240/golang"
	StandbyDownloadHost      = "storage.googleapis.com"

	DefaultProxyURL = ""
)
View Source
var DefaultInstallPath = func() string {
	home, err := getHomeDir()
	if err != nil {
		return "/usr/local/go"
	}

	return filepath.Join(home, ".go")
}()

Functions

func Setup

func Setup(ctx context.Context)

Types

This section is empty.

Jump to

Keyboard shortcuts

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