update vendor and use single static

This commit is contained in:
deepzz0
2017-07-08 21:54:39 +08:00
parent da7b726e8d
commit 3ff5977941
312 changed files with 70988 additions and 77 deletions

View File

@@ -64,7 +64,7 @@ type Config struct {
CertFile string
KeyFile string
AutoCert bool
Domains []string
Domain string
}
Twitter struct { // twitter信息
Card string

View File

@@ -2,15 +2,11 @@
package setting
import (
"encoding/json"
"testing"
"github.com/stretchr/testify/assert"
)
func TestInit(t *testing.T) {
data, err := json.Marshal(Conf)
if err != nil {
t.Fatal(err)
}
t.Log(string(data))
assert.NotNil(t, Conf)
}