templates

package
v0.0.0-...-a161123 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Get

func Get(name string) (check.Template, bool)

Get gets a template by name, returning a boolean indicating whether it was found.

func List

func List() []check.Template

List returns all known templates, sorted by name.

func Register

func Register(t check.Template)

Register registers a template with the given name. Intended to be called at program init time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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