helpers

package
Version: v1.2.4 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package helpers contains view helpers

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Markup

func Markup(s string) template.HTML

Markup converts text from stories into sanitized html

func RootURL

func RootURL() string

RootURL returns the root url

func TimeAgo

func TimeAgo(d time.Time) string

TimeAgo returns a string for a time in format x seconds ago

Types

This section is empty.

Source Files

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL