refactor: Update constants and remove unused code in aviation_parser.go and constants.go

This commit is contained in:
windyboy
2024-08-07 10:47:15 +08:00
parent 5515f353b4
commit e4fa138089
4 changed files with 43 additions and 162 deletions
+11
View File
@@ -4,6 +4,17 @@ import "regexp"
// String constants
const (
StartIndicatorPrefix = "ZCZC"
EndHeaderMarker = "."
BeginPartMarker = "BEGIN PART"
Category = "category"
CategoryArrival = "ARR"
CategoryDeparture = "DEP"
CategoryCancellation = "CNL"
CategoryDelay = "DLA"
CategoryFlightPlan = "FPL"
CANCELLED = "CNL"
AirportCode = "airport"
Date = "date"