pkgutil

package
v0.0.0-...-9c55465 Latest Latest
Warning

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

Go to latest
Published: Apr 10, 2024 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var JSON5Driver = config.NewDriver("json5", json5.Unmarshal, json.Marshal)

JSON5Driver instance

Functions

func NewConfig

func NewConfig() *config.Config

NewConfig box instance

Types

type RenderFn

type RenderFn func(src string, vars map[string]any) string

RenderFn render function

func NewTxtRender

func NewTxtRender(engine, varFmt string) (RenderFn, error)

NewTxtRender create a text render function

Jump to

Keyboard shortcuts

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