refactor: Refactor aviation_parser.go to improve code readability and maintainability
This commit is contained in:
@@ -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 {
|
||||||
|
|||||||
Reference in New Issue
Block a user