Documentation
¶
Index ¶
Constants ¶
View Source
const ( // DMUnknown represents an unrecognised dependency method. DMUnknown = "unknown" // DMGoMod represents a go.mod/go.sum project. DMGoMod = "modules" )
Variables ¶
View Source
var ( ErrUnknownDep = errors.New("golang: unknown dependency method") ErrModIncomplete = errors.New("golang: incomplete go.mod file") )
Errors returned by the plugin.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct {
// Version of Go used.
Version string
// Method for declaring dependencies.
DependencyMode DependencyMode
// Build tags.
Tags []string
}
Config for the Go plugin.
type DependencyMode ¶
type DependencyMode string
DependencyMode describes all the supported methods for dependency resolution.
Click to show internal directories.
Click to hide internal directories.