Weather: Move to subdirectory
parent
9d4a8f5de5
commit
9b06917166
3
main.go
3
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")
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
package weather
|
||||
|
||||
import (
|
||||
"./src/config"
|
||||
"../config"
|
||||
"io/ioutil"
|
||||
"net/http"
|
||||
"strings"
|
Loading…
Reference in New Issue