Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetLastWeek ¶ added in v0.0.4
GetLastWeek returns the start and end dates for the last 7 days. The end date is yesterday and the start date is 6 days before that. Dates are returned in YYYY-MM-DD format.
func ServiceName ¶
func StartEnd ¶ added in v0.0.4
StartEnd returns the start and end dates based on input values. If both start and end are provided, they are returned as is. If either is missing, it returns the date range for the last week.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.