update config

This commit is contained in:
deepzz0
2017-06-24 19:21:53 +08:00
parent 11b0f486cd
commit 055c2307cb
9 changed files with 88 additions and 87 deletions

View File

@@ -2,11 +2,15 @@
package setting
import (
"fmt"
"encoding/json"
"testing"
)
func TestInit(t *testing.T) {
init()
fmt.Printf("%v\n", *Conf)
data, err := json.Marshal(Conf)
if err != nil {
t.Fatal(err)
}
t.Log(string(data))
}