prettytime

package
v0.0.0-...-a8d72de Latest Latest
Warning

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

Go to latest
Published: Jan 3, 2017 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package prettytime provides a funcmap for html/template to that displays time using an easy to read format.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Map

func Map() template.FuncMap

Map returns a template.FuncMap for NULLTIME and PRETTYTIME which outputs a time in this format: 3:04 PM 01/02/2006.

Types

This section is empty.

Jump to

Keyboard shortcuts

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