refine comments for package core (#5014)
* Refine Comments * refine comments for cache.go * refine comments for log.go * Update orm.go * refine comments for orm_log.go,types.go * Update utils.go * Update doc.go * refine comments * refine comments * Update db.go * refine comments for core
This commit is contained in:
@@ -19,8 +19,6 @@ import (
|
||||
"os"
|
||||
"strings"
|
||||
|
||||
"github.com/pelletier/go-toml"
|
||||
|
||||
"github.com/beego/beego/v2/core/config"
|
||||
)
|
||||
|
||||
@@ -135,7 +133,7 @@ func (c *configContainer) Int64(key string) (int64, error) {
|
||||
}
|
||||
}
|
||||
|
||||
// bool return bool value
|
||||
// Bool return bool value
|
||||
// return error if key not found or value is invalid type
|
||||
func (c *configContainer) Bool(key string) (bool, error) {
|
||||
res, err := c.get(key)
|
||||
|
||||
Reference in New Issue
Block a user