Versions in this module Expand all Collapse all v0 v0.1.0 May 5, 2026 Changes in this version + var ErrOutdated = errors.New("outdated modules found") + func GoListModules(ctx context.Context, goCommand, mod string) ([]byte, error) + func RenderTable(w io.Writer, rows []Row, opts Options) + func Run(ctx context.Context, in io.Reader, out io.Writer, opts Options) error + type GoListError struct + Err error + Stderr string + func (e *GoListError) Error() string + func (e *GoListError) Unwrap() error + type GoVersionLister struct + GoCommand string + Mod string + func (l GoVersionLister) Versions(ctx context.Context, modulePath string) ([]string, error) + type MajorUpdate struct + Path string + Version string + func FindMajorUpdate(ctx context.Context, modulePath, currentVersion string, lister VersionLister, ...) (MajorUpdate, error) + func (u MajorUpdate) String() string + type Module struct + Dir string + Error *ModuleError + GoMod string + GoVersion string + Indirect bool + Main bool + Path string + Replace *Module + Time *time.Time + Update *Module + Version string + Versions []string + func DecodeModules(in io.Reader) ([]Module, error) + func (m Module) CurrentVersion() string + func (m Module) HasUpdate() bool + func (m Module) InvalidTimestamp() bool + func (m Module) NewVersion() string + type ModuleError struct + Err string + type Options struct + CI bool + Direct bool + Format OutputFormat + Lister VersionLister + Major bool + MajorConcurrency int + MajorLimit int + Update bool + type OutputFormat string + const FormatDefault + const FormatMarkdown + type Row struct + Direct bool + Module string + NewVersion string + ValidTimestamps bool + Version string + func Rows(ctx context.Context, modules []Module, opts Options) ([]Row, error) + func (r Row) HasUpdate() bool + type VersionLister interface + Versions func(ctx context.Context, modulePath string) ([]string, error)