timetable-extension #1
@ -42,6 +42,9 @@ func parseCifDataStream(dataStream io.ReadCloser) (*parsedData, error) {
 | 
			
		||||
					continue
 | 
			
		||||
				}
 | 
			
		||||
				parsed.header = timetable
 | 
			
		||||
			case "TiplocV1":
 | 
			
		||||
				// This data is not used and is sourced from CORPUS
 | 
			
		||||
				continue
 | 
			
		||||
			case "JsonAssociationV1":
 | 
			
		||||
				// Association data is not currently used
 | 
			
		||||
				// but may be used in the future
 | 
			
		||||
@ -53,6 +56,8 @@ func parseCifDataStream(dataStream io.ReadCloser) (*parsedData, error) {
 | 
			
		||||
					continue
 | 
			
		||||
				}
 | 
			
		||||
				parsed.sched = append(parsed.sched, schedule)
 | 
			
		||||
			default:
 | 
			
		||||
				log.Msg.Warn("Unknown CIF Data type", zap.String("key", key))
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user