jsontpl

package
v0.0.0-...-56451d9 Latest Latest
Warning

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

Go to latest
Published: Nov 8, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	IndentKey xo.ContextKey = "indent"
	UglyKey   xo.ContextKey = "ugly"
)

Context keys.

Variables

View Source
var Files embed.FS

Files are the embedded JSON templates.

Functions

func Indent

func Indent(ctx context.Context) string

Indent returns indent from the context.

func Ugly

func Ugly(ctx context.Context) bool

Ugly returns ugly 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