From a1216e6e5106eaef745743950dceef2099623782 Mon Sep 17 00:00:00 2001 From: Fred Boniface Date: Mon, 17 Jul 2023 12:36:41 +0100 Subject: [PATCH] Fix capitalisation --- pkg/database/timetable.go | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/pkg/database/timetable.go b/pkg/database/timetable.go index fd2ff1c..8c40222 100644 --- a/pkg/database/timetable.go +++ b/pkg/database/timetable.go @@ -5,24 +5,24 @@ import ( ) type Stop struct { - publicDeparture *string - wttDeparture *string - publicArrival *string - wttArrival *string - isPublic bool - tiploc string + PublicDeparture *string + WttDeparture *string + PublicArrival *string + WttArrival *string + IsPublic bool + Tiploc string } type Service struct { - transactionType string - stpIndicator string - operator string - trainUid string - headcode string - powerType string - planSpeed string - scheduleStartDate time.Time - scheduleEndDate time.Time - daysRun []string - stops []Stop + TransactionType string + StpIndicator string + Operator string + TrainUid string + Headcode string + PowerType string + PlanSpeed string + ScheduleStartDate time.Time + ScheduleEndDate time.Time + DaysRun []string + Stops []Stop } \ No newline at end of file