tmplhelp

package
v0.0.0-...-2840294 Latest Latest
Warning

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

Go to latest
Published: Jun 15, 2015 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

This package offers a convenient Helper for loading templates from an http.FileSystem object.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadJson

func LoadJson(fs http.FileSystem, n string) (interface{}, error)

Loads a json-document from a http.FileSystem object

func LoadTemplate

func LoadTemplate(fs http.FileSystem, n string) (*template.Template, error)

Loads a template from a http.FileSystem object

Types

This section is empty.

Jump to

Keyboard shortcuts

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