-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: implementation of regular trips (#52)
This PR implements and tests GET /driver_regular_trips and GET /passenger_regular_trips endpoints. It also factorizes testCases for `*_journey` and `*_regular_trips` endpoints.
- Loading branch information
1 parent
e4c59c8
commit eb829ba
Showing
15 changed files
with
2,476 additions
and
701 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package api | ||
|
||
type DriverRegularTrip struct { | ||
DriverTrip | ||
Schedules *[]Schedule | ||
} | ||
|
||
type PassengerRegularTrip struct { | ||
PassengerTrip | ||
Schedules *[]Schedule | ||
} |
Oops, something went wrong.