cast

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Nov 28, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Request

type Request struct {
	Template  string
	Target    string
	Variables []models.Variable
}

Request is the request object for casting a template

type Service

type Service interface {
	Cast(req *Request) error
}

Service handles casting of a template

func NewService

func NewService(fs afs.FS, inter interpolate.Service, path *filepath.Processor) Service

NewService creates a new instance of the cast service

Jump to

Keyboard shortcuts

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