pathtpl

package
v1.13.0 Latest Latest
Warning

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

Go to latest
Published: Mar 1, 2024 License: MPL-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseRawPath

func ParseRawPath(name string, rawPath string) (string, error)

Types

type TemplatedPath

type TemplatedPath interface {
	Parse(text string) (*template.Template, error)
	Funcs(funcMap template.FuncMap) *template.Template
	Execute(wr io.Writer, data interface{}) error
}

func NewPath

func NewPath(name string) TemplatedPath

Jump to

Keyboard shortcuts

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