Commit Graph
15 Commits
Author SHA1 Message Date
windyboy a734f5f25c refactor: Improve parsing of flight schedule data 2024-08-02 11:15:23 +08:00
zhiqiang feng d91e61ab5d up 2024-08-02 10:01:49 +08:00
windyboy 7222be4b59 refactor: Add test for parsing date in schedule_parser_test.go 2024-07-31 21:46:47 +08:00
windyboy 20872710ce refactor: Improve parsing of flight schedule data 2024-07-31 17:48:36 +08:00
windyboy 54dcefb08a refactor: Improve parsing of flight schedule data
The code changes in `schedule_parser_test.go` enhance the parsing logic for flight schedule data. This improves the accuracy and functionality of the code when extracting information such as index, task, date, flight number, aircraft registration, waypoints, and departure/arrival times from the input line. The changes ensure more reliable and consistent parsing of flight schedule data.
2024-07-31 17:46:18 +08:00
windyboy 6c01443da8 refactor: Add support for parsing GS Airlines flight schedule data 2024-07-31 17:40:56 +08:00
windyboy 4bd2adda51 refactor: Add support for parsing JD Airlines flight schedule data 2024-07-31 17:27:14 +08:00
windyboy 2729e33f59 refactor: Add support for parsing JD Airlines flight schedule data 2024-07-31 17:09:41 +08:00
windyboy 48d1ad60dc refactor: Improve parsing of Hainan Airlines (HU) flight schedule data 2024-07-31 16:59:20 +08:00
windyboy b37667873f refactor: Improve parsing of flight schedule data
The code changes in `schedule_parser.go` enhance the parsing logic for flight schedule data. This improves the accuracy and functionality of the code when extracting information such as index, task, date, flight number, and aircraft registration from the input line. The changes ensure more reliable and consistent parsing of flight schedule data.
2024-07-31 16:49:36 +08:00
windyboy 2a1dc1eebe refactor: Update parsing of flight schedule data for improved accuracy and functionality 2024-07-31 16:04:52 +08:00
windyboy 9982b1408d refactor: Update parsing of flight schedule data for improved accuracy and functionality 2024-07-31 11:05:30 +08:00
windyboy f827941a1b refactor: Update parsing of flight schedule data for improved accuracy and functionality 2024-07-30 10:56:05 +08:00
windyboy 8593f6ce9d refactor: Add FlightSchedule.Index field and update parsers
The code changes introduce a new `Index` field in the `FlightSchedule` struct and update the parsers in `aviation_parser.go` and `schedule_parser.go` to handle this field. This addition allows for the extraction and parsing of the `Index` value from flight schedule messages. The changes improve the functionality and accuracy of the code when working with flight schedules.
2024-07-29 17:54:52 +08:00
windyboy bb4faf4d13 ```text
refactor: Add schedule_parser.go and schedule_parser_test.go

The code changes introduce a new `schedule_parser.go` file and its corresponding test file `schedule_parser_test.go`. These files contain the implementation and tests for the `FindWaypoints` function, which extracts waypoints from a given message. This addition enhances the functionality of the code by providing a way to parse and retrieve specific information from messages.
2024-07-29 15:40:30 +08:00