refactor: Refactor aviation_parser.go to improve code readability and maintainability

This commit is contained in:
windyboy
2024-08-06 22:46:01 +08:00
parent bbaea62788
commit 5515f353b4
+7 -1
View File
@@ -54,7 +54,13 @@ const (
) )
var ( var (
otherPatterns = []*regexp.Regexp{navPattern, remarkPattern, selPattern, pbnPattern, eetPattern, performancePattern, reroutePattern} otherPatterns = []*regexp.Regexp{navPattern,
remarkPattern,
selPattern,
pbnPattern,
eetPattern,
performancePattern,
reroutePattern}
) )
type BodyParser struct { type BodyParser struct {