releases

package
v0.0.0-...-ec6b881 Latest Latest
Warning

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

Go to latest
Published: Mar 26, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Index

type Index []Release

func LoadFile

func LoadFile(path string) (Index, error)

func (Index) FilterByOrg

func (i Index) FilterByOrg(org string) Index

func (Index) GitHubOrgs

func (i Index) GitHubOrgs() []string

type Release

type Release struct {
	URL        ReleaseURL `yaml:"url"`
	Categories []string   `yaml:"categories"`
	MinVersion string     `yaml:"min_version"`
	Homepage   bool       `yaml:"homepage"`
}

func (Release) GitHubOrg

func (r Release) GitHubOrg() string

func (Release) GitHubRepo

func (r Release) GitHubRepo() string

type ReleaseURL

type ReleaseURL string

func (ReleaseURL) Parse

func (r ReleaseURL) Parse() *url.URL

Jump to

Keyboard shortcuts

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