1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-25 23:01:28 +00:00

code style simplify

This commit is contained in:
fuxiaohei 2014-07-13 18:11:13 +08:00
parent 9457e61a0c
commit 9d0ad3f974

View File

@ -214,7 +214,7 @@ func (c *IniConfigContainer) getdata(key string) string {
k = sectionKey[0]
}
if v, ok := c.data[section]; ok {
if vv, ok2 := v[k]; ok2 {
if vv, ok := v[k]; ok {
return vv
}
}