catalog

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: May 17, 2023 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Catalog

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

Catalog is a template catalog helper implementation

func New

func New(directory string) *Catalog

New creates a new Catalog structure using provided input items

func (*Catalog) GetTemplatePath

func (c *Catalog) GetTemplatePath(Pocs embed.FS) ([]string, error)

GetTemplatePath parses the specified input template path and returns a compiled list of finished absolute paths to the templates evaluating any glob patterns or folders provided as in.

Jump to

Keyboard shortcuts

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