download

package
v0.3.5 Latest Latest
Warning

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

Go to latest
Published: May 30, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Content managed by Project Forge, see [projectforge.md] for details.

Content managed by Project Forge, see [projectforge.md] for details.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Link struct {
	URL  string `json:"url"`
	Mode string `json:"mode"`
	OS   string `json:"os"`
	Arch string `json:"arch"`
}

func (*Link) OSIcon

func (l *Link) OSIcon() string

func (*Link) OSString

func (l *Link) OSString() string
type Links []*Link
func GetLinks(version string) Links

func (Links) Get

func (l Links) Get(mode string, os string, arch string) *Link

func (Links) GetByModes

func (l Links) GetByModes(modes ...string) Links

func (Links) GetByOS

func (l Links) GetByOS(os string) Links

Jump to

Keyboard shortcuts

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