starter

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: May 5, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func MustURI

func MustURI(id string) (string, error)

MustURI converts a starter ID into the underlying URI used by the regular download pipeline.

Types

type Entry

type Entry struct {
	ID          string `json:"id"`
	Name        string `json:"name"`
	Provider    string `json:"provider"`
	Kind        string `json:"kind"`
	URI         string `json:"uri"`
	Description string `json:"description"`
	ApproxSize  string `json:"approx_size"`
	BestFor     string `json:"best_for"`
}

Entry is a beginner-safe download target that exercises the normal resolver and downloader paths without requiring tokens or multi-gigabyte files.

func Get

func Get(id string) (Entry, bool)

Get returns one starter entry by ID. The starter:// prefix is accepted so callers can pass user input directly.

func List

func List() []Entry

List returns the stable starter catalog sorted by ID.

Jump to

Keyboard shortcuts

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