data

package
v0.0.0-...-a3b8528 Latest Latest
Warning

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

Go to latest
Published: Sep 3, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ApplyData

func ApplyData(data Data, tmpl string) (string, error)

func FilterData

func FilterData(data Data, level string)

Types

type Data

type Data struct {
	Command string
	Items   map[string][]Item
}

func LoadData

func LoadData(command string, stacks []string) (Data, error)

type Item

type Item struct {
	Name        string   `yaml:"name"`
	Description string   `yaml:"description"`
	Levels      []string `yaml:"levels"`
	Link        string   `yaml:"link"`
	Stack       string
}

Jump to

Keyboard shortcuts

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