chore: Remove unused fields in FPL and DEP structs

The code changes remove the unused `SurveillanceEquipment` field in the `FPL` struct and the `TelegramCategory` field in the `DEP` struct. These fields are no longer needed and can be safely removed. This commit improves code cleanliness and reduces unnecessary complexity.
This commit is contained in:
windyboy
2024-07-20 10:40:28 +08:00
parent e394362554
commit 242e48d1b7
7 changed files with 158 additions and 90 deletions
+2 -2
View File
@@ -13,7 +13,7 @@ var _ = Describe("DEP", func() {
BeforeEach(func() {
original = DEP{
TelegramCategory: "DEP",
Category: "DEP",
AircraftID: "ABCD1234",
SSRModeAndCode: "A1234",
DepartureAirport: "JFK",
@@ -45,7 +45,7 @@ var _ = Describe("DEP", func() {
It("should fail validation for missing required fields", func() {
invalidDEP := DEP{
TelegramCategory: "DEP",
Category: "DEP",
// AircraftID is missing
DepartureAirport: "JFK",
DepartureTime: "150405",