Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GoogleGeoLookup ¶
type GoogleGeoLookup struct {
// contains filtered or unexported fields
}
GoogleGeoLookup to lookup timezone details
func NewGoogleGeoLookup ¶
func NewGoogleGeoLookup(googleAPIKey string) *GoogleGeoLookup
NewGoogleGeoLookup constructs a new GoogleGeoLookup instance
func (*GoogleGeoLookup) FindTimezoneForLocation ¶
func (g *GoogleGeoLookup) FindTimezoneForLocation(latitude, longitude float64) (*TimezoneInfo, error)
FindTimezoneForLocation get timezone for a given location
func (*GoogleGeoLookup) Initialize ¶
func (g *GoogleGeoLookup) Initialize() error
Initialize a GoogleGeoLookup instance
type TimezoneInfo ¶
TimezoneInfo has timezone details
Click to show internal directories.
Click to hide internal directories.