Skip to content

Commit

Permalink
Update StopTime StopSeq to uint32 (#22)
Browse files Browse the repository at this point in the history
Based on the [documentation](https://gtfs.org/schedule/reference/#stop_timestxt), `stop_sequence` is a non-negative integer
  • Loading branch information
edfungus authored May 2, 2023
1 parent 2a290b6 commit 3906193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models.go
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ type Stop struct {
// StopTime -
type StopTime struct {
StopID string `csv:"stop_id"`
StopSeq string `csv:"stop_sequence"`
StopSeq uint32 `csv:"stop_sequence"`
StopHeadSign string `csv:"stop_headsign"`
TripID string `csv:"trip_id"`
Shape float64 `csv:"shape_dist_traveled"`
Expand Down

0 comments on commit 3906193

Please sign in to comment.