text

package
v0.30.8 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2021 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 added in v0.26.10

type Texts []Text

func (Texts) DisplayForSlug added in v0.26.10

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

func (Texts) DisplayTexts added in v0.26.10

func (texts Texts) DisplayTexts() []string

Jump to

Keyboard shortcuts

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