templates

package
v0.0.0-...-b86ca0f Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DeclaredDirectories

func DeclaredDirectories() []string

func GenerateGenYaml

func GenerateGenYaml(w io.Writer) error

func GenerateYaml

func GenerateYaml(w io.Writer) error

there is issues with the tab character in the string builder

Types

type Builder

type Builder struct {
	//First key is the directory, second key is the template name
	Templates map[string]map[string]*template.Template
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(parser parser.Service) (*Builder, error)

func (*Builder) Build

func (b *Builder) Build(w io.Writer, directory string, file string) error

Jump to

Keyboard shortcuts

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