binhtml

package
v0.2.4 Latest Latest
Warning

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

Go to latest
Published: Apr 18, 2018 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AssetDirFunc

type AssetDirFunc func(string) ([]string, error)

type AssetFunc

type AssetFunc func(string) ([]byte, error)

type BinTemplate

type BinTemplate struct {
	Asset    AssetFunc
	AssetDir AssetDirFunc
}

func New

func (*BinTemplate) LoadDirectory

func (t *BinTemplate) LoadDirectory(directory string) (*template.Template, error)

func (*BinTemplate) LoadDirectoryWithTemplate

func (t *BinTemplate) LoadDirectoryWithTemplate(tmpl *template.Template, directory string) (*template.Template, error)

func (*BinTemplate) MustLoadDirectory

func (t *BinTemplate) MustLoadDirectory(directory string) *template.Template

Jump to

Keyboard shortcuts

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