package
module
Version:
v0.0.0-...-33b3d60
Opens a new window with list of versions in this module.
Published: Jan 19, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
age
Tiny pkg for calculating age from birthDate and printing the age in a human-readable format.
Documentation
¶
Tiny pkg for calculating age from birthDate and printing the age in a human-readable format.
type Age struct {
Years int
Months int
Days int
}
Calculates age from birthDate to now time.
Calculates the current age at this instant.
Returns a human-readable age representation
Source Files
¶
Click to show internal directories.
Click to hide internal directories.