pathtpl

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 29, 2022 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