Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type BasicStanza ¶ added in v0.2.0
type BasicStanza struct {
Comment string
Dependencies []Dependency
}
type Content ¶
type Content struct {
Module string
Go string
Toolchain ToolchainStanza
Direct BasicStanza
Indirect BasicStanza
Replace ReplaceStanza
ReplaceSub ReplaceStanza // sub modules, e.g. "=> ./api"
Exclude BasicStanza
Tool BasicStanza
}
type Dependency ¶
func (Dependency) Cmp ¶
func (d Dependency) Cmp(o Dependency) int
func (Dependency) Hash ¶
func (d Dependency) Hash() string
func (Dependency) String ¶
func (d Dependency) String() string
type ReplaceStanza ¶
type ReplaceStanza struct {
Comment string
Replacements []Replacement
}
type Replacement ¶
type Replacement struct {
Orig Dependency
Next Dependency
}
func (Replacement) Cmp ¶
func (r Replacement) Cmp(o Replacement) int
func (Replacement) Hash ¶
func (r Replacement) Hash() string
func (Replacement) String ¶
func (r Replacement) String() string
type ToolchainStanza ¶ added in v0.2.0
Click to show internal directories.
Click to hide internal directories.