1
0
mirror of https://github.com/astaxie/beego.git synced 2025-07-06 06:50:17 +00:00

Merge branch 'astaxie/develop' into iniSaveErrorFix

# Conflicts:
#	config/ini_test.go
This commit is contained in:
ysqi
2016-01-24 11:37:43 +08:00
9 changed files with 219 additions and 123 deletions

View File

@ -195,7 +195,7 @@ type IniConfigContainer struct {
// Bool returns the boolean value for a given key.
func (c *IniConfigContainer) Bool(key string) (bool, error) {
return strconv.ParseBool(c.getdata(key))
return ParseBool(c.getdata(key))
}
// DefaultBool returns the boolean value for a given key.