Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/bearbin/go-age
/ functions
Functions
5 in github.com/bearbin/go-age
⨍
Functions
5
◇
Types & classes
1
↓ 4 callers
Function
isLeap
Works out if a time.Time is in a leap year.
age.go:39
↓ 2 callers
Function
AgeAt
AgeAt gets the age of an entity at a certain time.
age.go:7
↓ 1 callers
Function
getAdjustedBirthDay
Gets the adjusted date of birth to work around leap year differences.
age.go:26
Function
Age
Age is shorthand for AgeAt(birthDate, time.Now()), and carries the same usage and limitations.
age.go:21
Function
TestAgeAt
(t *testing.T)
age_test.go:20