dottpl

package
v0.0.0-...-ac0725a Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DefaultsKey  xo.ContextKey = "defaults"
	DirectionKey xo.ContextKey = "direction"
	BoldKey      xo.ContextKey = "bold"
	RowKey       xo.ContextKey = "row"
	ColorKey     xo.ContextKey = "color"
)

Context keys.

Variables

View Source
var Files embed.FS

Files are the embedded dot templates.

Functions

func Bold

func Bold(ctx context.Context) bool

Bold returns bold from the context.

func Color

func Color(ctx context.Context) string

Color returns color from the context.

func Defaults

func Defaults(ctx context.Context) []string

Defaults returns defaults from the context.

func Direction

func Direction(ctx context.Context) bool

Direction returns direction from the context.

func Row

func Row(ctx context.Context) string

Row returns row from the context.

Types

This section is empty.

Jump to

Keyboard shortcuts

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