layout

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: May 17, 2017 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HTML

func HTML(loader Loader) echo.Renderer

Types

type File

type File struct {
	Name    string
	Content []byte
}

type Loader

type Loader interface {
	Load() ([]File, error)
}

Loader is a template loader interface

func FSLoader

func FSLoader(path string) Loader

FSLoader returns file system template loader

Jump to

Keyboard shortcuts

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