Versions in this module Expand all Collapse all go1 go1.18.10 Jan 10, 2023 Changes in this version + func BuildList(targets []module.Version, reqs Reqs) ([]module.Version, error) + func Downgrade(target module.Version, reqs DowngradeReqs, downgrade ...module.Version) ([]module.Version, error) + func Req(mainModule module.Version, base []string, reqs Reqs) ([]module.Version, error) + func Upgrade(target module.Version, reqs UpgradeReqs, upgrade ...module.Version) ([]module.Version, error) + func UpgradeAll(target module.Version, reqs UpgradeReqs) ([]module.Version, error) + type BuildListError struct + Err error + func NewBuildListError(err error, path []module.Version, ...) *BuildListError + func (e *BuildListError) Error() string + func (e *BuildListError) Module() module.Version + type DowngradeReqs interface + Previous func(m module.Version) (module.Version, error) + type Graph struct + func NewGraph(cmp func(v1, v2 string) int, roots []module.Version) *Graph + func (g *Graph) BuildList() []module.Version + func (g *Graph) FindPath(f func(module.Version) bool) []module.Version + func (g *Graph) Require(m module.Version, reqs []module.Version) + func (g *Graph) RequiredBy(m module.Version) (reqs []module.Version, ok bool) + func (g *Graph) Selected(path string) (version string) + func (g *Graph) WalkBreadthFirst(f func(m module.Version)) + type Reqs interface + Max func(v1, v2 string) string + Required func(m module.Version) ([]module.Version, error) + type UpgradeReqs interface + Upgrade func(m module.Version) (module.Version, error)