catalog

package
v1.0.0-rc.19 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

type Catalog struct {
	Extensions []CatalogItem
}

type CatalogItem

type CatalogItem struct {
	Type        ItemType
	Title       string
	Description string
	Author      string
	Origin      string
	Platforms   []Platform
}

func FetchCatalog

func FetchCatalog() ([]CatalogItem, error)

func GetCatalog

func GetCatalog() ([]CatalogItem, error)

type ItemType

type ItemType string
const (
	GithubRelease ItemType = "github-release"
	GithubRepo    ItemType = "github-repository"
	GithubGist    ItemType = "github-gist"
	Script        ItemType = "script"
	API           ItemType = "api"
)

type Platform

type Platform string
const (
	Windows Platform = "windows"
	Linux   Platform = "linux"
	MacOS   Platform = "macos"
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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