Browse Source

config print struct on run

master
arnaucode 6 years ago
parent
commit
f9c5ee76fa
3 changed files with 2 additions and 2 deletions
  1. +1
    -1
      config.json
  2. BIN
      goImgServer
  3. +1
    -1
      main.go

+ 1
- 1
config.json

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

BIN
goImgServer


+ 1
- 1
main.go

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

Loading…
Cancel
Save