package get

import "cmd/go/internal/get"

Package get implements the “go get” command.

Index

Variables

var CmdGet = &base.Command{
	UsageLine: "get [-d] [-f] [-fix] [-insecure] [-t] [-u] [-v] [build flags] [packages]",
	Short:     "download and install packages and dependencies",
	Long:      "" /* 2144 byte string literal not displayed */,
}

Functions

func CheckImportPath

func CheckImportPath(path string) error

CheckImportPath checks that an import path is valid.

Types

type ImportMismatchError

type ImportMismatchError struct {
	// contains filtered or unexported fields
}

A ImportMismatchError is returned where metaImport/s are present but none match our import path.

func (ImportMismatchError) Error

func (m ImportMismatchError) Error() string

Source Files

discovery.go get.go path.go vcs.go

Version
v1.10.8
Published
Jan 23, 2019
Platform
darwin/amd64
Imports
25 packages
Last checked
2 minutes ago

Tools for package owners.