official

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Name Collector name
	Name = "official"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Collector

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

Collector collects Go versions from official download page.

func NewCollector

func NewCollector(downloadPageURL string) (*Collector, error)

NewCollector creates a new collector instance for official Go downloads.

func (*Collector) AllVersions

func (c *Collector) AllVersions() (items []*version.Version, err error)

AllVersions returns all known Go versions including stable/unstable/archived.

func (*Collector) ArchivedVersions

func (c *Collector) ArchivedVersions() (items []*version.Version, err error)

ArchivedVersions provides historical Go versions no longer supported.

func (*Collector) Name added in v1.7.0

func (c *Collector) Name() string

Name Collector name

func (*Collector) StableVersions

func (c *Collector) StableVersions() (items []*version.Version, err error)

StableVersions retrieves all stable Go versions from official releases.

func (*Collector) UnstableVersions

func (c *Collector) UnstableVersions() (items []*version.Version, err error)

UnstableVersions fetches pre-release and development builds of Go.

Jump to

Keyboard shortcuts

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