Browse Source

Clock: Move to subdirectory

master
Elis Hirwing 1 year ago
parent
commit
ed065eb954
Signed by: etu <elis@hirwing.se> GPG Key ID: D57EFA625C9A925F
2 changed files with 4 additions and 3 deletions
  1. +2
    -1
      main.go
  2. +2
    -2
      src/clock/clock.go

+ 2
- 1
main.go View File

@@ -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}



statusscreen-clock.go → src/clock/clock.go View File

@@ -1,7 +1,7 @@
package main
package clock

import (
"./src/config"
"../config"
"github.com/common-nighthawk/go-figure"
"time"
)

Loading…
Cancel
Save