1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-04 07:10:19 +00:00
This commit is contained in:
astaxie
2016-01-17 23:48:17 +08:00
parent 9b2597be68
commit 90d1349665
9 changed files with 11 additions and 11 deletions

@ -164,7 +164,7 @@ func (c *JSONConfigContainer) String(key string) string {
// DefaultString returns the string value for a given key.
// if err != nil return defaltval
func (c *JSONConfigContainer) DefaultString(key string, defaultval string) string {
// TODO FIXME should not use "" to replace non existance
// TODO FIXME should not use "" to replace non existence
if v := c.String(key); v != "" {
return v
}