date

package
v0.0.0-...-4a5e4cf Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatDate

func FormatDate(format string, date *time.Time) []byte

func GenerateTimeAgo

func GenerateTimeAgo(date *time.Time) string

func GetCurrentTime

func GetCurrentTime() time.Time

Whenever we need time.Now(), we use this function instead so that we always use UTC in journey

Types

This section is empty.

Jump to

Keyboard shortcuts

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