From c9e54b23d2ddbeed19950746d5b23a730dba3dcb Mon Sep 17 00:00:00 2001 From: Ezequiel Victorero Date: Sun, 29 May 2022 20:16:05 -0300 Subject: [PATCH] moving model files --- main.go | 4 ++-- {data/model => model}/model.go | 0 2 files changed, 2 insertions(+), 2 deletions(-) rename {data/model => model}/model.go (100%) diff --git a/main.go b/main.go index b25f6a4..93f3f5c 100644 --- a/main.go +++ b/main.go @@ -8,7 +8,7 @@ import ( "net/http" "net/url" "os" - "smiles/data/model" + "smiles/model" "sort" "strconv" "sync" @@ -262,7 +262,7 @@ func processResults(r []model.Result) { } if cheapestFareDay != 9_999_999 { - fmt.Printf("Vuelo más barato del día %s:, %s - %s, %s, %s, %d escalas, %d millas\n", + fmt.Printf("Vuelo más barato del día %s: %s - %s, %s, %s, %d escalas, %d millas\n", cheapestFlightDay.Departure.Date.Format(dateLayout), cheapestFlightDay.Departure.Airport.Code, cheapestFlightDay.Arrival.Airport.Code, diff --git a/data/model/model.go b/model/model.go similarity index 100% rename from data/model/model.go rename to model/model.go