deps

package
v0.2.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 19, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListAllModulePaths

func ListAllModulePaths() ([]string, error)

ListAllModulePaths returns all module paths in the current context

func Upgrade

func Upgrade(m Module) error

Types

type Module

type Module struct {
	Path           string
	Current        *semver.Version
	Latest         *semver.Version
	IsTool         bool
	UpdateCategory string // "minor" | "patch" | "prerelease" | "metadata"
	Updatable      bool
}

Module describes a Go module upgrade candidate

func GetModuleInfo

func GetModuleInfo(path string) (Module, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL