Skip to content

Installation

Read how to install the Timeago in your Go project and what are the requirements for it.

What is Timeago?

Visit our page "What is Timeago?" to learn more about the Timeago library and its mission.

Quick Start

Library versioning is following the Go Modules versioning. To get the latest version of the library run the following command:

bash
go get -u github.com/SerhiiCho/timeago/v3

If you are using the v2 version, follow the Upgrade Guide to update your codebase to the v3 (latest) version.

Keep your dependencies up to date by running the following command:

bash
go get -u ./...

Requirements

You can find the minimum requirement version of Go for the Timeago library in the go.mod file on GitHub.