prototype

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Jul 15, 2026 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Data

type Data struct {
	Game          Game
	Profile       Profile
	Stats         Stats
	InstalledMods []Mod
	SearchResults []Mod
	Profiles      []Profile
}

Data is the fake, side-effect-free data set used for visual TUI iteration.

func Load

func Load() Data

Load returns static demo data. It must never touch disk, network, DB, or APIs.

type Game

type Game struct {
	ID   string
	Name string
}

type Mod

type Mod struct {
	Name            string
	Source          string
	Author          string
	Version         string
	Status          string
	Summary         string
	Downloads       int64
	Endorsements    int64
	HasEndorsements bool
}

type Profile

type Profile struct {
	Name     string
	Active   bool
	ModCount int
}

type Stats

type Stats struct {
	Installed int
	Enabled   int
	Updates   int
	Conflicts int
}

Jump to

Keyboard shortcuts

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