Clock: Move to subdirectory

master
Elis Hirwing 3 years ago
parent 5ca25f0edd
commit ed065eb954
Signed by: etu
GPG Key ID: D57EFA625C9A925F
  1. 3
      main.go
  2. 4
      src/clock/clock.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…
Cancel
Save