text

package
v0.62.5 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	WeightLight  = "Light"
	WeightMedium = "Medium"
	WeightHeavy  = "Heavy"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Text

type Text struct {
	Display  string
	Slug     string
	Children Texts
}

type Texts

type Texts []Text

func (Texts) DisplayForSlug

func (texts Texts) DisplayForSlug(slug string) (string, error)

func (Texts) DisplayTexts

func (texts Texts) DisplayTexts() []string

Jump to

Keyboard shortcuts

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