config print struct on run

This commit is contained in:
arnaucode
2017-07-10 17:57:50 +02:00
parent e0aeeb09d1
commit f9c5ee76fa
3 changed files with 2 additions and 2 deletions

View File

@@ -1,5 +1,5 @@
{
"serverIP": "192.168.1.36",
"serverIP": "192.168.1.35",
"serverPort": "3050",
"folder": "files",
"blockedIPs": [

Binary file not shown.

View File

@@ -8,7 +8,7 @@ import (
func main() {
readConfig("config.json")
fmt.Println(config)
fmt.Printf("%+v\n", config)
router := NewRouter()