prog

package
v0.25.2 Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2025 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Version

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

func NewLatest

func NewLatest(name string) Version

func NewVer

func NewVer(name, ver string) Version

func (Version) AsLatest

func (m Version) AsLatest() Version

AsLatest return the same mod but with latest version.

func (Version) IsLatest

func (m Version) IsLatest() bool

func (Version) Name

func (m Version) Name() string

func (Version) S

func (m Version) S() string

S returns a module@ver like: github.com/golangci/golangci-lint/cmd/golangci-lint@v1.55.2 github.com/golangci/golangci-lint/cmd/golangci-lint@latest

func (Version) Version

func (m Version) Version() string

Jump to

Keyboard shortcuts

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