date

package
v1.0.20 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2025 License: MIT Imports: 2 Imported by: 0

README ¶

📦 Package date

Source Path: pkg/date

🚀 Functions

GenerateExpireDate

GenerateExpireDate generates a random date in the future within the next 5 years as the expiration date. The date is in the format "YYYY-MM-DD", and the time is midnight UTC.

func GenerateExpireDate() time.Time

Documentation ¶

Index ¶

Constants ¶

This section is empty.

Variables ¶

This section is empty.

Functions ¶

func GenerateExpireDate ¶

func GenerateExpireDate() time.Time

GenerateExpireDate generates a random date in the future within the next 5 years as the expiration date. The date is in the format "YYYY-MM-DD", and the time is midnight UTC.

Types ¶

This section is empty.

Jump to

Keyboard shortcuts

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