types

package
v0.0.10 Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: Apache-2.0 Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Collection

type Collection interface {
	Items() []*CollectionItem
	YAML() (string, error)
	JSON() (string, error)
	Singular() string
	Plural() string
}

type CollectionItem

type CollectionItem struct {
	Header    string
	SubHeader string
	Desc      string
}

func (*CollectionItem) Description

func (i *CollectionItem) Description() string

func (*CollectionItem) FilterValue

func (i *CollectionItem) FilterValue() string

func (*CollectionItem) Title

func (i *CollectionItem) Title() string

type Entity

type Entity interface {
	YAML() (string, error)
	JSON() (string, error)
	Markdown() string
}

Jump to

Keyboard shortcuts

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