alltime

package module
v0.0.0-...-8ec2686 Latest Latest
Warning

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

Go to latest
Published: Mar 29, 2017 License: MIT Imports: 2 Imported by: 0

README

alltime

$ go get github.com/thomasheller/alltime/cmd/alltime
$ alltime 5000s
seconds: 5000.00s
minutes: 83.33m
hours:   1.39h
days:    0.06d
months:  0.00mo
years:   0.00y
$ alltime 15m
seconds: 900.00s
minutes: 15.00m
hours:   0.25h
days:    0.01d
months:  0.00mo
years:   0.00y
$ alltime 400h
seconds: 1440000.00s
minutes: 24000.00m
hours:   400.00h
days:    16.67d
months:  0.55mo
years:   0.00y

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Durations

func Durations(d time.Duration) []string

Durations formats a duration as seconds, minutes, hours, days, months and years.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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