Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultURL = "https://proxy.golang.org"
Functions ¶
func IsNotFound ¶
IsNotFound returns true if the error is ModuleNotFound
Types ¶
type ModuleNotFound ¶
type ModuleNotFound struct {
Path string
}
func (ModuleNotFound) Error ¶
func (err ModuleNotFound) Error() string
type Proxy ¶
type Proxy struct {
// contains filtered or unexported fields
}
func (*Proxy) EnsureDownloaded ¶
func (*Proxy) GetLatestVersion ¶
GetLatestVersion returns the latest version for a module from the proxy. Will return an error of type ModuleNotFound if no module exists for the given path
func (*Proxy) ResolveDeps ¶
ResolveDeps will resolve the dependencies of a module list following the minimum viable version strategy
Click to show internal directories.
Click to hide internal directories.