mirror of
https://github.com/astaxie/beego.git
synced 2024-11-22 14:50:55 +00:00
gofmt
Signed-off-by: devYu <devysq@gmail.com>
This commit is contained in:
parent
14629c214b
commit
ccb61f0416
@ -337,13 +337,12 @@ func (c *IniConfigContainer) DIY(key string) (v interface{}, err error) {
|
||||
|
||||
// section.key or key
|
||||
func (c *IniConfigContainer) getdata(key string) string {
|
||||
if len(key) == 0 {
|
||||
if len(key) == 0 {
|
||||
return ""
|
||||
}
|
||||
c.RLock()
|
||||
c.RLock()
|
||||
defer c.RUnlock()
|
||||
|
||||
|
||||
var (
|
||||
section, k string
|
||||
sectionKey []string = strings.Split(strings.ToLower(key), "::")
|
||||
|
Loading…
Reference in New Issue
Block a user