age

package
v2.0.5 Latest Latest
Warning

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

Go to latest
Published: Apr 13, 2021 License: LGPL-3.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Age

func Age(birthDate time.Time) int

Age is shorthand for At(birthDate, time.Now()), and carries the same usage and limitations.

func At

func At(birthDate time.Time, now time.Time) int

At gets the age of an entity at a certain time.

Types

This section is empty.

Jump to

Keyboard shortcuts

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