forked from OpenPDU/openpdu
I'm stuck
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user