template

package
v0.0.0-...-970d828 Latest Latest
Warning

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

Go to latest
Published: Jan 12, 2022 License: BSD-2-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DetailView

type DetailView struct {
	Display string
	Value   string
	Detail  string
}

type RenderView

type RenderView struct {
	Id       string
	QrSource string
	Issuer   string
	Infos    []DetailView
}

type Renderer

type Renderer interface {
	Render(templatePath string, view RenderView) (string, error)
}

func New

func New() Renderer

Jump to

Keyboard shortcuts

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