Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNoAirports = errors.New("no airports in country")
ErrNoAirports is returned if Lookup can find no airports.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
// contains filtered or unexported fields
}
Client manages the IATA data.
func New ¶
New creates a new Client from IATA data contained at the given URL. Any URL supported m-lab/go/content may be provided.
Click to show internal directories.
Click to hide internal directories.