I'm stuck

This commit is contained in:
2019-08-31 21:34:46 +02:00
parent 9b9a94a83b
commit 56ad55b967
6 changed files with 187 additions and 24 deletions

View File

@@ -1,26 +1,18 @@
package main
import (
// "encoding/json"
"log"
// "periph.io/x/periph"
"github.com/spf13/viper"
)
// Dictionary aaa
// Dictionary definition
type Dictionary map[string]interface{}
func main() {
readConfig()
nam := viper.Get("hostname")
log.Printf("hostname: %v\n", nam)
initI2C()
startServer()
}