Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Pallinder/go-randomdata
/ Day
Function
Day
random_data.go:369–371 ·
view source on GitHub ↗
Day returns random day
()
Source
from the content-addressed store, hash-verified
367
368
// Day returns random day
369
func
Day() string {
370
return
randomFrom(jsonData.Days)
371
}
372
373
// Month returns random month
374
func
Month() string {
Callers
2
TestDay
Function · 0.85
ExampleRandomdata
Function · 0.85
Calls
1
randomFrom
Function · 0.85
Tested by
2
TestDay
Function · 0.68
ExampleRandomdata
Function · 0.68