magic

package
v2.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Magic

type Magic interface {
	Render(ctx context.Context, opts MagicRenderOptions) ([]file.File, error)
	source.Source
}

func NewMagic

func NewMagic(name string, vars []variable.Variable, casts []cast.Cast) Magic

type MagicRenderOptions

type MagicRenderOptions struct {
	Variables variable.Variables
}

Jump to

Keyboard shortcuts

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