modver

package
v0.0.0-...-8d27a46 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2025 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ModTracker

type ModTracker struct {
	// contains filtered or unexported fields
}

func New

func New() *ModTracker

func (*ModTracker) Close

func (m *ModTracker) Close() error

func (*ModTracker) GetLatestVersion

func (m *ModTracker) GetLatestVersion(ctx context.Context, module string) (string, error)

func (*ModTracker) GetTags

func (m *ModTracker) GetTags(ctx context.Context, module string) ([]string, error)

type Module

type Module struct {
	Versions []string  `json:"versions"`
	Ts       time.Time `json:"ts"`
}

type NoSuchRepoError

type NoSuchRepoError struct {
	// contains filtered or unexported fields
}

func (NoSuchRepoError) Error

func (e NoSuchRepoError) Error() string

Jump to

Keyboard shortcuts

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