1
0
mirror of https://github.com/astaxie/beego.git synced 2024-06-24 13:24:14 +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
}
}