transformrt

package
v0.2.7 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type File

type File = trpipe.File

type Transform

type Transform struct {
	From string
	To   string
	Func func(file *File) error
}

type Transformer

type Transformer struct {
	// contains filtered or unexported fields
}

func Load

func Load(log log.Log, transforms ...*Transform) *Transformer

func (*Transformer) Transform

func (t *Transformer) Transform(fsys fs.FS, fpath string) ([]byte, error)

Jump to

Keyboard shortcuts

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