templates

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2019 License: MIT Imports: 6 Imported by: 1

README

templates

GoDoc

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

Basic usage
import (
  "libs.altipla.consulting/templates"
)

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