In order to properly marshal and unmarshal the Date and Time fields as defined in the GTFS Reference: Field Types, custom types need to be defined with custom MarshalText and UnmarshalText functions.
- Date fields use layout
20060102
- Time fields use layout
15:04:05
In order to properly marshal and unmarshal the Date and Time fields as defined in the GTFS Reference: Field Types, custom types need to be defined with custom
MarshalTextandUnmarshalTextfunctions.2006010215:04:05