From 7bbea1b078881fd63cf3650bb8d6452bd81617f1 Mon Sep 17 00:00:00 2001 From: thisisaaronland Date: Wed, 29 Sep 2021 10:41:25 -0700 Subject: [PATCH] Bug fix: SFOId is the new SFOMuseumId in campus/campus.go --- campus/campus.go | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/campus/campus.go b/campus/campus.go index ac537a3..ed19394 100644 --- a/campus/campus.go +++ b/campus/campus.go @@ -4,7 +4,7 @@ package campus // type Campus is a lightweight data structure to represent the SFO campus with pointers its descendants. type Campus struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfo:id"` + SFOId string `json:"sfo:id"` Complex *Complex `json:"complex"` Garages []*Garage `json:"garages"` // Buildings []*Building `json:"buildings,omitempty"` @@ -14,21 +14,21 @@ type Campus struct { // type Garage is a lightweight data structure to represent garages at SFO with pointers its descendants. type Garage struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfo:id"` + SFOId string `json:"sfo:id"` PublicArt []*PublicArt `json:"publicart"` } // type Complex is a lightweight data structure to represent the terminal complex at SFO with pointers its descendants. type Complex struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfo:id"` + SFOId string `json:"sfo:id"` Terminals []*Terminal `json:"terminals"` } // type ObservationDeck is a lightweight data structure to represent observation decks at SFO with pointers its descendants. type ObservationDeck struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfo:id"` + SFOId string `json:"sfo:id"` PublicArt []*PublicArt `json:"publicart"` Galleries []*Gallery `json:"galleries"` } @@ -36,7 +36,7 @@ type ObservationDeck struct { // type Terminal is a lightweight data structure to represent terminals at SFO with pointers its descendants. type Terminal struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfo:id"` + SFOId string `json:"sfo:id"` CommonAreas []*CommonArea `json:"commonareas"` BoardingAreas []*BoardingArea `json:"boardingareas"` } @@ -44,7 +44,7 @@ type Terminal struct { // type CommonArea is a lightweight data structure to represent common areas at SFO with pointers its descendants. type CommonArea struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfo:id"` + SFOId string `json:"sfo:id"` Gates []*Gate `json:"gates"` Checkpoints []*Checkpoint `json:"checkpoints"` Galleries []*Gallery `json:"galleries"` @@ -55,7 +55,7 @@ type CommonArea struct { // type BoardingArea is a lightweight data structure to represent boarding areas at SFO with pointers its descendants. type BoardingArea struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfo:id"` + SFOId string `json:"sfo:id"` Gates []*Gate `json:"gates"` Checkpoints []*Checkpoint `json:"checkpoints"` Galleries []*Gallery `json:"galleries"` @@ -66,23 +66,23 @@ type BoardingArea struct { // type Gallery is a lightweight data structure to represent SFO Museum galleries at SFO. type Gallery struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfomuseum:id"` + SFOId string `json:"sfomuseum:id"` } // type Gate is a lightweight data structure to represent passenger gates at SFO. type Gate struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfo:id"` + SFOId string `json:"sfo:id"` } // type Checkpoint is a lightweight data structure to represent security checkpoints at SFO. type Checkpoint struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfo:id"` + SFOId string `json:"sfo:id"` } // type PublicArt is a lightweight data structure to represent public art works at SFO. type PublicArt struct { WhosOnFirstId int64 `json:"id"` - SFOMuseumId string `json:"sfomuseum:id"` + SFOId string `json:"sfomuseum:id"` }