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:
@ -71,6 +71,7 @@ peers = one;two;three
|
||||
"null": "",
|
||||
"demo2::key1": "",
|
||||
"error": "",
|
||||
"emptystrings": []string{},
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user