refactor: Update aviation_parser.go to remove unused code and update constants

This commit is contained in:
windyboy
2024-08-07 11:10:18 +08:00
parent 55a286f521
commit f340c66b19
+1 -9
View File
@@ -11,20 +11,14 @@ import (
) )
const ( const (
// FlightNumber = "number"
SSR = "ssr" SSR = "ssr"
DepartureCode = "dep" DepartureCode = "dep"
DepartureTime = "dep_time" DepartureTime = "dep_time"
ArrivalCode = "arr" ArrivalCode = "arr"
ArrivalTime = "arr_time" ArrivalTime = "arr_time"
// CategoryDeparture = "DEP"
DestinationCode = "dest" DestinationCode = "dest"
OtherInfo = "other" OtherInfo = "other"
// CategoryCancellation = "CNL"
// CategoryDelay = "DLA"
// NewDepartureTime = "new_departure_time"
// CategoryFlightPlan = "FPL"
ReferenceData = "reference_data" ReferenceData = "reference_data"
Aircraft = "aircraft" Aircraft = "aircraft"
CategorySurveillance = "surve" CategorySurveillance = "surve"
@@ -37,7 +31,6 @@ const (
Route = "route" Route = "route"
EstimatedTime = "estt" EstimatedTime = "estt"
AlternateAirport = "alter" AlternateAirport = "alter"
// Register = "reg"
PBN = "pbn" PBN = "pbn"
NavigationEquipment = "nav" NavigationEquipment = "nav"
EstimatedElapsedTime = "eet" EstimatedElapsedTime = "eet"
@@ -45,7 +38,6 @@ const (
PerformanceCategory = "per" PerformanceCategory = "per"
RerouteInformation = "rif" RerouteInformation = "rif"
Remarks = "remark" Remarks = "remark"
// Index = "idx"
) )
var ( var (