core

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 29, 2025 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Item

type Item string

type SaveState

type SaveState struct {
	Tiers []struct {
		Name  string `json:"name"`
		Items []Item `json:"items"`
	} `json:"tiers"`
}

type Saver

type Saver interface {
	Save(filename string, state SaveState) error
	Load(filename string) (SaveState, error)
}

type Tier

type Tier struct {
	Name  string
	Items []Item
	Color lipgloss.Color
}

Jump to

Keyboard shortcuts

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