iata

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Feb 1, 2025 License: MIT Imports: 0 Imported by: 0

Documentation

Overview

Package iata contains IATA airport codes, which are supported by the Google Flights API, along with time zones. This package was generated using an airport list (which can be found at this address: airports.json) and the Google Flights API.

Command: go run ./iata/generate/generate.go

Generation date: 2024-02-18

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Location

type Location struct{ City, Tz string }

func IATATimeZone

func IATATimeZone(iata string) Location

IATATimeZone turns IATA airport codes into the time zone where the airport is located. If IATATimeZone can't find an IATA airport code, then it returns "Not supported IATA Code".

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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