Help us shape the future of Go! Take the 2026 Go Developer Survey

github

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2025 License: Apache-2.0 Imports: 5 Imported by: 1

Documentation

Index

Constants

View Source
const LatestTag = "latest"

Variables

This section is empty.

Functions

This section is empty.

Types

type Architecture

type Architecture string
const (
	ArchX86     Architecture = "x86"
	ArchAMD64   Architecture = "amd64"
	ArchARM     Architecture = "arm"
	ArchARM64   Architecture = "arm64"
	ArchPPC64LE Architecture = "ppc64le"
	ArchS390X   Architecture = "s390x"
)

func CurrentArchitecture

func CurrentArchitecture() Architecture

func (Architecture) Matches

func (a Architecture) Matches(name string) bool

type Asset

func (Asset) Matches

func (a Asset) Matches(filename string) bool

type Checksums

type Checksums struct {
	FileName
}

type FileName

type FileName struct {
	BaseName  string
	Extension string
}

func NewFileName

func NewFileName(s string) FileName

func (FileName) ToString

func (n FileName) ToString() string

type OperatingSystem

type OperatingSystem string
const (
	OSDarwin    OperatingSystem = "darwin"
	OSLinuxMusl OperatingSystem = "linux-musl"
	OSLinuxGnu  OperatingSystem = "linux-gnu"
	OSWindows   OperatingSystem = "windows"
)

func CurrentOS

func CurrentOS() OperatingSystem

func (OperatingSystem) Matches

func (os OperatingSystem) Matches(name string) bool

type OsFamily

type OsFamily string
const (
	OSFamilyDarwin  OsFamily = "darwin"
	OSFamilyLinux   OsFamily = "linux"
	OSFamilyWindows OsFamily = "windows"
)

type Release

type Release struct {
	Tag string
	Repository
}

type Repository

type Repository struct {
	Owner string
	Repo  string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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