catalog

package
v1.8.0 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Validate

func Validate(definitions []puzzle.Definition) error

Types

type DailyEntry

type DailyEntry struct {
	GameID   puzzle.GameID
	GameName string
	ModeID   puzzle.ModeID
	Mode     string
}

type Index added in v1.8.0

type Index struct {
	// contains filtered or unexported fields
}

func Build added in v1.8.0

func Build(definitions []puzzle.Definition) (Index, error)

func MustBuild added in v1.8.0

func MustBuild(definitions []puzzle.Definition) Index

func (Index) DailyEntries added in v1.8.0

func (i Index) DailyEntries() []DailyEntry

func (Index) Definitions added in v1.8.0

func (i Index) Definitions() []puzzle.Definition

func (Index) Lookup added in v1.8.0

func (i Index) Lookup(name string) (puzzle.Definition, bool)

func (Index) Names added in v1.8.0

func (i Index) Names() []string

func (Index) Resolve added in v1.8.0

func (i Index) Resolve(name string) (puzzle.Definition, bool)

Jump to

Keyboard shortcuts

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