refactor: Add support for parsing JD Airlines flight schedule data

This commit is contained in:
windyboy
2024-07-31 17:09:41 +08:00
parent 48d1ad60dc
commit 2729e33f59
2 changed files with 32 additions and 0 deletions
+13
View File
@@ -112,6 +112,19 @@ var (
3: Register,
},
},
{
/**
* 1) JD5195 B6727 ILS I(9) SYX/0800 1135/TSN
*/
Airlines: []string{"JD"},
MinLen: 7,
WaypointStart: 5,
Fields: map[int]string{
0: Index,
1: FlightNumber,
2: Register,
},
},
}
)