fix composite
This commit is contained in:
@@ -17,6 +17,7 @@ type Telegram struct {
|
||||
FlopValue []string
|
||||
FlightNumber string
|
||||
Plane string
|
||||
Aircraft string
|
||||
RegisterNumber string
|
||||
Departure string
|
||||
DepartureTime time.Time
|
||||
@@ -109,3 +110,7 @@ func parseDof(text string) time.Time {
|
||||
dof, _ := time.Parse("060102", value["time"])
|
||||
return dof
|
||||
}
|
||||
|
||||
func getOtherRegexWithName(name string) string {
|
||||
return strings.ReplaceAll(OtherRegex, "NAME", name)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user