package
module
Version:
v0.0.0-...-bcfcdea
Opens a new window with list of versions in this module.
Published: Jan 11, 2021
License: MIT
Opens a new window with license information.
Imports: 5
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
ago
About
ago is a golang package for parsing time intervals of the form X <duration> ago
.
Created by Jay Taylor and used by Gigawatt.
Requirements
Running the test suite
go test ./...
License
Permissive MIT license, see the LICENSE file for more information.
Documentation
¶
Time takes an input string of the form ".. ## <time-unit> ago" and returns
the closest possible time value.
When no match is found, nil will be returned.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.