templates

package module
v1.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 16, 2018 License: MIT Imports: 5 Imported by: 0

README

Templates

GoDoc Build Status

Helper functions for html/template to assist with common actions, i18n or assets versioning.

Install
go get github.com/altipla-consulting/templates
Contributing

You can make pull requests or create issues in GitHub. Any code you send should be formatted using gofmt.

Running tests

Run the tests

make test
License

MIT License

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Load

func Load(folders ...string) (*template.Template, error)

Load receives a list of globs and load every template that matches those folders. All folders must have at least one template or it will fail the loading.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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