1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-07 02:30:18 +00:00

Fixed #1735 Return empty []string

Need return empty []string  if config value is empty.

split `“”` ==> []string{}, Not []string{“”}
This commit is contained in:
ysqi
2016-03-02 22:44:20 +08:00
parent 70e63570f5
commit 8ff74e71cb
6 changed files with 23 additions and 3 deletions

View File

@ -71,6 +71,7 @@ peers = one;two;three
"null": "",
"demo2::key1": "",
"error": "",
"emptystrings": []string{},
}
)