script

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(templatePath string) (template.FuncMap, error)

Types

type CallbackType

type CallbackType = func(params ...any) (any, error)

type TemplateCommand

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

func LoadTemplateCommandForScript

func LoadTemplateCommandForScript(filename string, script string) ([]*TemplateCommand, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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