Browse Source

Pollen: Move to subdirectory

master
Elis Hirwing 2 years ago
parent
commit
9d4a8f5de5
Signed by: etu GPG Key ID: D57EFA625C9A925F
  1. 3
      main.go
  2. 4
      src/pollen/pollen.go

3
main.go

@ -3,6 +3,7 @@ package main
import (
"./src/clock"
"./src/config"
"./src/pollen"
"./src/sl"
tm "github.com/buger/goterm"
"time"
@ -12,7 +13,7 @@ func main() {
config := config.New("status.toml")
clock := clock.Clock{Config: &config}
pollen := Pollen{Config: &config}
pollen := pollen.Pollen{Config: &config}
sl := sl.SL{Config: &config}
weather := Weather{Config: &config}

4
statusscreen-pollen.go → src/pollen/pollen.go

@ -1,7 +1,7 @@
package main
package pollen
import (
"./src/config"
"../config"
"bytes"
"encoding/json"
"github.com/olekukonko/tablewriter"
Loading…
Cancel
Save