template

package
v0.0.0-...-afdbc5d Latest Latest
Warning

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

Go to latest
Published: Apr 23, 2018 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetUnexported

func SetUnexported(e bool)

SetUnexported variables, functions and types

Types

type Template

type Template struct {
	Variables interface{}
	// contains filtered or unexported fields
}

Template holds b0x and file template

func (*Template) Exec

func (t *Template) Exec() ([]byte, error)

Exec the template and return the final data as byte array

func (*Template) Set

func (t *Template) Set(name string) error

Set the template to be used "files" or "file"

Jump to

Keyboard shortcuts

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