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:
parent
9457e61a0c
commit
9d0ad3f974
@ -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
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user