airports

package
v0.6.8 Latest Latest
Warning

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

Go to latest
Published: Feb 12, 2024 License: BSD-3-Clause Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsMultipleCandidates added in v0.2.0

func IsMultipleCandidates(e error) bool

func IsNotFound added in v0.2.0

func IsNotFound(e error) bool

func RegisterAirportsLookup

func RegisterAirportsLookup(ctx context.Context, scheme string, init_func AirportsLookupInitializationFunc) error

Types

type AirportsLookup

type AirportsLookup interface {
	airfield.Lookup
}

func NewAirportsLookup

func NewAirportsLookup(ctx context.Context, uri string) (AirportsLookup, error)

type AirportsLookupInitializationFunc

type AirportsLookupInitializationFunc func(ctx context.Context, uri string) (AirportsLookup, error)

type MultipleCandidates added in v0.2.0

type MultipleCandidates struct{ Code string }

func (MultipleCandidates) Error added in v0.2.0

func (e MultipleCandidates) Error() string

func (MultipleCandidates) String added in v0.2.0

func (e MultipleCandidates) String() string

type NotFound added in v0.2.0

type NotFound struct{ Code string }

func (NotFound) Error added in v0.2.0

func (e NotFound) Error() string

func (NotFound) String added in v0.2.0

func (e NotFound) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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