diff --git a/main.go b/main.go index fbccedd..8fb5d36 100644 --- a/main.go +++ b/main.go @@ -5,6 +5,7 @@ import ( "./src/config" "./src/pollen" "./src/sl" + "./src/weather" tm "github.com/buger/goterm" "time" ) @@ -15,7 +16,7 @@ func main() { clock := clock.Clock{Config: &config} pollen := pollen.Pollen{Config: &config} sl := sl.SL{Config: &config} - weather := Weather{Config: &config} + weather := weather.Weather{Config: &config} tm.Clear() tm.Print("\033[?25l") diff --git a/statusscreen-weather.go b/src/weather/weather.go similarity index 97% rename from statusscreen-weather.go rename to src/weather/weather.go index 0b7dbdc..80d0909 100644 --- a/statusscreen-weather.go +++ b/src/weather/weather.go @@ -1,7 +1,7 @@ -package main +package weather import ( - "./src/config" + "../config" "io/ioutil" "net/http" "strings"