template

package
v6.0.4 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetTemplates

func GetTemplates(param *ParamGetTemplates) map[string]string

Types

type ParamGetTemplates

type ParamGetTemplates struct {
	Templates      map[string]string
	CI             string
	JoinCommand    string
	CombinedOutput string
}

type Renderer

type Renderer struct {
	Getenv func(string) string
}

func (*Renderer) Render

func (r *Renderer) Render(tpl string, templates map[string]string, params interface{}) (string, error)

Jump to

Keyboard shortcuts

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