Documentation ¶
Index ¶
- type Area
- type Attraction
- type AttractionRelations
- type AttractionTag
- type HotelType
- type Language
- type Limited
- type Place
- type Plan
- type PlanRoute
- type PlanTemplate
- type PredictionWaittime
- type RealWaittime
- type Resort
- type Schedule
- type ScheduleDaily
- type Service
- type Tag
- type TagType
- type TimeCost
- type VisitorTag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Area ¶
type Area struct { ID bson.ObjectId `bson:"_id"` Place bson.ObjectId `bson:"place"` Language `bson:",inline"` // contains filtered or unexported fields }
Area -
type Attraction ¶
type Attraction struct { // ID bson.ObjectId `json:"_id" bson:"_id"` // Park Place `json:"park" bson:"park"` StrID string `json:"str_id,omitempty" bson:"str_id,omitempty"` AreaName string `json:"area,omitempty" bson:"area,omitempty"` Category string `json:"category" bson:"category"` IsAvailable bool `json:"is_available" bson:"is_available"` YoutubeURL string `json:"youtube_url,omitempty" bson:"youtube_url,omitempty"` Limited []string `json:"limited,omitempty" bson:"limited,omitempty"` SummaryTag []summaryTag `json:"summary_tags,omitempty" bson:"summary_tags,omitempty"` Maps []string `json:"maps,omitempty" bson:"maps,omitempty"` TagNames []string `json:"tags,omitempty" bson:"tags,omitempty"` Images []string `json:"images" bson:"main_visual_urls"` IsLottery bool `json:"is_lottery,omitempty" bson:"is_lottery,omitempty"` IsMustBook bool `json:"is_must_book,omitempty" bson:"is_must_book,omitempty"` Name string `json:"name,omitempty" bson:"name,omitempty"` Note string `json:"note,omitempty" bson:"note,omitempty"` Introductions string `json:"introductions,omitempty" bson:"introductions,omitempty"` Summaries []summary `json:"summaries,omitempty" bson:"summaries,omitempty"` Realtime interface{} `json:"realtime,omitempty" bson:"realtime,omitempty"` HotIndex float64 `json:"index_hot,omitempty" bson:"index_hot,omitempty"` // IsFastpass bool `json:"is_fastpass,omitempty" bson:"is_fastpass,omitempty"` Schedules []Schedule `json:"schedules,omitempty"` Coordinates []float64 `json:"coordinates,omitempty" bson:"coordinates,omitempty"` // contains filtered or unexported fields }
Attraction -
type AttractionRelations ¶
type AttractionRelations struct { Distance *float64 `json:"distance" bson:"distance"` From string `json:"from" bson:"from"` To string `json:"to" bson:"to"` // contains filtered or unexported fields }
AttractionRelations -
type AttractionTag ¶
type AttractionTag struct { ID bson.ObjectId `json:"_id" bson:"_id"` Name string `json:"name,omitempty" bson:"name,omitempty"` PlanCreation planCreation `json:"plan_creation" bson:"plan_creation"` Attractions []Attraction `json:"attractions,omitempty" bson:"attractions,omitempty"` // contains filtered or unexported fields }
AttractionTag -
type HotelType ¶
type HotelType struct { ID bson.ObjectId `bson:"_id"` Language `bson:",inline"` // contains filtered or unexported fields }
HotelType -
type Language ¶
type Language struct { JA string `json:"ja,omitempty" bson:"ja,omitempty"` EN string `json:"en,omitempty" bson:"en,omitempty"` CN string `json:"cn,omitempty" bson:"cn,omitempty"` TW string `json:"tw,omitempty" bson:"tw,omitempty"` }
Language -
type Limited ¶
type Limited struct { ID bson.ObjectId `bson:"_id"` Language `bson:",inline"` // contains filtered or unexported fields }
Limited -
type Place ¶
type Place struct { ID bson.ObjectId `bson:"_id"` Language `bson:",inline"` // contains filtered or unexported fields }
Place -
type Plan ¶
type Plan struct { PlanTemplate `bson:",inline"` TemplateID *bson.ObjectId `json:",none" bson:"template_id,omitempty"` Lang string `json:",none" bson:"lang,omitempty"` // contains filtered or unexported fields }
Plan -
type PlanRoute ¶
type PlanRoute struct { StrID string `json:"str_id" bson:"str_id"` TimeCost float64 `json:"timeCost" bson:"timeCost"` DistanceToNext float64 `json:"distanceToNext" bson:"distanceToNext"` WalktimeToNext float64 `json:"walktimeToNext"` WaitTime float64 `json:"waitTime" bson:"waitTime"` Attraction Attraction `json:"attraction" bson:"attraction"` Schedule Schedule `json:"schedule" bson:"schedule"` FastPass *fastPass `json:"fastpass,omitempty" bson:"fastpass,omitempty"` }
PlanRoute -
type PlanTemplate ¶
type PlanTemplate struct { ID bson.ObjectId `json:"_id" bson:"_id"` Name string `json:"name" bson:"name"` Introduction string `json:"introduction" bson:"introduction"` Start *time.Time `json:"start,omitempty" bson:"start,omitempty"` Route []PlanRoute `json:"route" bson:"route"` // contains filtered or unexported fields }
PlanTemplate -
type PredictionWaittime ¶
type PredictionWaittime struct { WaitTime *float64 `json:"waitTime" bson:"waitTime"` CreateTime time.Time `json:"createTime" bson:"createTime"` // contains filtered or unexported fields }
PredictionWaittime -
type RealWaittime ¶
type RealWaittime struct { WaitTime *float64 `json:"waitTime" bson:"waitTime"` CreateTime time.Time `json:"createTime" bson:"createTime"` Available bool `json:"available" bson:"available"` OperationEnd *time.Time `json:"operation_end" bson:"operation_end"` // contains filtered or unexported fields }
RealWaittime -
type Resort ¶
type Resort struct { ID bson.ObjectId `bson:"_id"` Language `bson:",inline"` // contains filtered or unexported fields }
Resort -
type Schedule ¶
type Schedule struct { StartTime time.Time `json:"startTime,omitempty" bson:"startTime,omitempty"` EndTime time.Time `json:"endTime,omitempty" bson:"endTime,omitempty"` }
Schedule -
type ScheduleDaily ¶
type ScheduleDaily struct { StrID string `json:"str_id" bson:"str_id"` Schedules []Schedule `json:"schedules,omitempty" bson:"schedules,omitempty"` // contains filtered or unexported fields }
ScheduleDaily -
type Service ¶
type Service struct { ID bson.ObjectId `bson:"_id"` Language `bson:",inline"` // contains filtered or unexported fields }
Service -
type Tag ¶
type Tag struct { ID bson.ObjectId `bson:"_id"` Language `bson:",inline"` // contains filtered or unexported fields }
Tag -
type TagType ¶
type TagType struct { ID bson.ObjectId `bson:"_id"` Language `bson:",inline"` // contains filtered or unexported fields }
TagType -
Click to show internal directories.
Click to hide internal directories.