Clock: Move to subdirectory
parent
5ca25f0edd
commit
ed065eb954
3
main.go
3
main.go
|
@ -1,6 +1,7 @@
|
|||
package main
|
||||
|
||||
import (
|
||||
"./src/clock"
|
||||
"./src/config"
|
||||
tm "github.com/buger/goterm"
|
||||
"time"
|
||||
|
@ -9,8 +10,8 @@ import (
|
|||
func main() {
|
||||
config := config.New("status.toml")
|
||||
|
||||
clock := clock.Clock{Config: &config}
|
||||
sl := SL{Config: &config}
|
||||
clock := Clock{Config: &config}
|
||||
weather := Weather{Config: &config}
|
||||
pollen := Pollen{Config: &config}
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
package main
|
||||
package clock
|
||||
|
||||
import (
|
||||
"./src/config"
|
||||
"../config"
|
||||
"github.com/common-nighthawk/go-figure"
|
||||
"time"
|
||||
)
|
Loading…
Reference in New Issue