package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

GetExecutableModTime get executable file modified time of current process.
MinutesToFriendly returns a user-friendly string with number of minutes converted to hours and minutes.
MockSet sets the time to a mocked time.Time.
MockUnset will unset the mocked time.Time.
TimeStampNanoNow returns now nano int64.
TimeStampNow returns now int64.

# Constants

Seconds-based time units.
Seconds-based time units.
Seconds-based time units.
Seconds-based time units.
Seconds-based time units.
Seconds-based time units.

# Type aliases

TimeStamp defines a timestamp.
TimeStampNano is for nano time in database, do not use it unless there is a real requirement.