decent

package
v0.0.0-...-ee4bfb7 Latest Latest
Warning

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

Go to latest
Published: Oct 11, 2017 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Relative

func Relative(target time.Time) string

Relative returns relative decent time

Types

type Format

type Format string

Format is a string with ability to provide params to its placeholders

func Shuffle

func Shuffle(formats ...string) Format

Shuffle select the random variant from provided strings

func (Format) S

func (f Format) S(params ...interface{}) string

S used to provide params to placeholders

Jump to

Keyboard shortcuts

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