core

package
v1.9.2 Latest Latest
Warning

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

Go to latest
Published: Nov 20, 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 Base

type Base struct {
}

func (*Base) RenderToFile

func (b *Base) RenderToFile(path string, fun Function) (err error)

type Executor

type Executor interface {
	ToString(input []string, inputType InputType, name string, data any) (result string, err error)
	ToFile(input []string, inputType InputType, name string, data any, filename string) (err error)
}

type Function

type Function func(wr io.Writer) (err error)

type InputType

type InputType uint8
const (
	InputTypeFile InputType = iota
	InputTypeString
)

Jump to

Keyboard shortcuts

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