mirror of
https://github.com/astaxie/beego.git
synced 2025-01-27 13:37:12 +00:00
astaxie
2820f630c8
config: add more method
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
beego
beego is a Go Framework inspired by tornado and sinatra.
It is a simple & powerful web framework.
More info beego.me
Features
- RESTful support
- MVC architecture
- Session support (store in memory, file, Redis or MySQL)
- Cache support (store in memory, Redis or Memcache)
- Global Config
- Intelligent routing
- Thread-safe map
- Friendly displaying of errors
- Useful template functions
Documentation
LICENSE
beego is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).
Description
Languages
Go
99.6%
Shell
0.4%