mirror of
https://github.com/astaxie/beego.git
synced 2025-06-22 18:10:17 +00:00
cache
config
xml
xml.go
xml_test.go
yaml
config.go
fake.go
ini.go
ini_test.go
json.go
json_test.go
context
example
httplib
logs
middleware
migration
orm
plugins
session
swagger
testing
toolbox
utils
validation
.gitignore
.go_style
LICENSE
README.md
admin.go
app.go
beego.go
config.go
config_test.go
controller.go
docs.go
filter.go
filter_test.go
flash.go
flash_test.go
log.go
memzipfile.go
mime.go
namespace.go
namespace_test.go
parser.go
router.go
router_test.go
staticfile.go
template.go
template_test.go
templatefunc.go
templatefunc_test.go
tree.go
tree_test.go

DefaultString(key string, defaultval string) string // support section::key type in key string when using ini and json type; Int,Int64,Bool,Float,DIY are same. DefaultStrings(key string, defaultval []string) []string //get string slice DefaultInt(key string, defaultval int) int DefaultInt64(key string, defaultval int64) int64 DefaultBool(key string, defaultval bool) bool DefaultFloat(key string, defaultval float64) float64 DIY(key string) (interface{}, error) GetSection(section string) (map[string]string, error) SaveConfigFile(filename string) error