8000 GitHub - caarlos0/timea.go at v1.0.2
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

timea.go (did you see what I did there?) is a simple library to print given times in "time ago" manner.

License

Notifications You must be signed in to change notification settings

caarlos0/timea.go

Repository files navigation

timea.go

Build Status Coverage Status

timea.go (did you see what I did there?) is a simple library to print given times in "time ago" manner.

Example:

go get github.com/caarlos0/timea.go

Simple usage:

package main

import (
	"fmt"
	"time"

	timeago "github.com/caarlos0/timea.go"
)

func main() {
	fmt.Println(timeago.Of(time.Now().Add(-5 * time.Second)))
}

About

timea.go (did you see what I did there?) is a simple library to print given times in "time ago" manner.

Topics

Resources

License

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 2

  •  
  •  
0