Documentation ¶
Index ¶
Constants ¶
View Source
const TIMEZONE_MIDDLEWARE_KEY = "TIMEZONE_MIDDLEWARE_KEY"
Variables ¶
This section is empty.
Functions ¶
func GetTimezoneFromContext ¶
GetTimezoneFromContext gets the timezone set in the request context.
func Timezone ¶
func Timezone() gin.HandlerFunc
Timezone setups the default timezone middleware to extract a timezone out of the header or default to Local utilize timezones as defined here: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones
func UUID ¶
func UUID() gin.HandlerFunc
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.