Documentation ¶
Overview ¶
package campus provides methods for working with the SFO airport campus.
Index ¶
Constants ¶
const FIRST_SFO int64 = 1159396329
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BoardingArea ¶
type BoardingArea struct { WhosOnFirstId int64 `json:"id"` SFOId string `json:"sfo:id"` Gates []*Gate `json:"gates,omitempty"` Checkpoints []*Checkpoint `json:"checkpoints,omitempty"` Galleries []*Gallery `json:"galleries,omitempty"` PublicArt []*PublicArt `json:"publicart,omitempty"` ObservationDecks []*ObservationDeck `json:"observationdecks,omitempty"` }
type BoardingArea is a lightweight data structure to represent boarding areas at SFO with pointers its descendants.
type Campus ¶
type Campus struct { WhosOnFirstId int64 `json:"id"` SFOId string `json:"sfo:id"` Complex *Complex `json:"complex"` Garages []*Garage `json:"garages"` // Buildings []*Building `json:"buildings,omitempty"` PublicArt []*PublicArt `json:"buildings,omitempty"` }
type Campus is a lightweight data structure to represent the SFO campus with pointers its descendants.
type Checkpoint ¶
type Checkpoint is a lightweight data structure to represent security checkpoints at SFO.
type CommonArea ¶
type CommonArea struct { WhosOnFirstId int64 `json:"id"` SFOId string `json:"sfo:id"` Gates []*Gate `json:"gates,omitempty"` Checkpoints []*Checkpoint `json:"checkpoints,omitempty"` Galleries []*Gallery `json:"galleries,omitempty"` PublicArt []*PublicArt `json:"publicart,omitempty"` ObservationDecks []*ObservationDeck `json:"observationdecks,omitempty"` // for example T2 }
type CommonArea is a lightweight data structure to represent common areas at SFO with pointers its descendants.
type Complex ¶
type Complex struct { WhosOnFirstId int64 `json:"id"` SFOId string `json:"sfo:id"` Terminals []*Terminal `json:"terminals"` }
type Complex is a lightweight data structure to represent the terminal complex at SFO with pointers its descendants.
func FindMostRecentComplexWithDatabase ¶ added in v0.2.0
func MostRecentComplexWithIterator ¶ added in v0.2.0
func MostRecentComplexWithIterator(ctx context.Context, iterator_uri string, paths ...string) (*Complex, error)
MostRecentComplexWithIterator will return a `Complex` instance representing the most recent relationships of the SFO terminal complex and its descendants derived from data defined in 'iterator_uri' and 'paths'.
type Gallery ¶
type Gallery is a lightweight data structure to represent SFO Museum galleries at SFO.
type Garage ¶
type Garage struct { WhosOnFirstId int64 `json:"id"` SFOId string `json:"sfo:id"` PublicArt []*PublicArt `json:"publicart,omitempty"` }
type Garage is a lightweight data structure to represent garages at SFO with pointers its descendants.
type ObservationDeck ¶
type ObservationDeck struct { WhosOnFirstId int64 `json:"id"` SFOId string `json:"sfo:id"` PublicArt []*PublicArt `json:"publicart,omitempty"` Galleries []*Gallery `json:"galleries,omitempty"` }
type ObservationDeck is a lightweight data structure to represent observation decks at SFO with pointers its descendants.
type PublicArt ¶
type PublicArt is a lightweight data structure to represent public art works at SFO.
type Terminal ¶
type Terminal struct { WhosOnFirstId int64 `json:"id"` SFOId string `json:"sfo:id"` CommonAreas []*CommonArea `json:"commonareas,omitempty"` BoardingAreas []*BoardingArea `json:"boardingareas,omitempty"` }
type Terminal is a lightweight data structure to represent terminals at SFO with pointers its descendants.