| 1 | package src |
| 2 | |
| 3 | type ( |
| 4 | Opts struct { |
| 5 | From, To, Date, Time, Mode, Route string |
| 6 | NoAirplane, NoShinkansen, NoExpress, NoExpressBus, NoBus, NoFairy bool |
| 7 | } |
| 8 | Route struct { |
| 9 | Time, Duration, TransitCunt, Fare string |
| 10 | Badges []int |
| 11 | Stations []Station |
| 12 | } |
| 13 | Station struct { |
| 14 | Time, Name string |
| 15 | Fares []Fare |
| 16 | } |
| 17 | Fare struct { |
| 18 | Train, Color, Platform string |
| 19 | Stops []Stop |
| 20 | } |
| 21 | Stop struct { |
| 22 | Time, Name string |
| 23 | } |
| 24 | ) |