Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mod ¶
type Mod struct { modfile.ModFile modfile.ModVersion // Repo where module in vcs root Repo string // SubPath mod local sub path SubPath string // Dir module absolute dir Dir string // Root means this import path is mod root Root bool // Sum repo absolute dir sum Sum string }
func (*Mod) ModuleRoot ¶
func (*Mod) SetRequire ¶
func (m *Mod) SetRequire(module string, modVersion modfile.ModVersion, indirect bool)
Click to show internal directories.
Click to hide internal directories.