render

package
v0.0.9 Latest Latest
Warning

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

Go to latest
Published: May 21, 2024 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type RenderFn

type RenderFn func(ctx context.Context, x any) (any, error)

type Renderer

type Renderer interface {
	Render(ctx context.Context, x any) (any, error)
}

func New

func New(renderFn RenderFn, stringFn StringFn) Renderer

type StringFn

type StringFn func(ctx context.Context, x string) (any, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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