Initial cloud-services repo - gateway service + pkg modules
This commit is contained in:
21
pkg/timezone/model.go
Normal file
21
pkg/timezone/model.go
Normal file
@@ -0,0 +1,21 @@
|
||||
package timezone
|
||||
|
||||
import "time"
|
||||
|
||||
type AzureTimezoneResult struct {
|
||||
Version string `json:"Version"`
|
||||
ReferenceUtcTimestamp time.Time `json:"ReferenceUtcTimestamp"`
|
||||
Timezones []AzureTimezone `json:"TimeZones"`
|
||||
}
|
||||
|
||||
type AzureTimezone struct {
|
||||
ID string `json:"Id"`
|
||||
ReferenceTime AzureReferenceTime `json:"ReferenceTime"`
|
||||
}
|
||||
|
||||
type AzureReferenceTime struct {
|
||||
Tag string `json:"Tag"`
|
||||
StandardOffset string `json:"StandardOffset"`
|
||||
DaylightSavings string `json:"DaylightSavings"`
|
||||
WallTime time.Time `json:"WallTime"`
|
||||
}
|
||||
Reference in New Issue
Block a user