1
0
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
2014-08-07 17:24:21 +08:00
2014-08-07 17:24:21 +08:00
2014-07-24 23:12:21 +08:00
2014-06-25 10:39:37 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-07-27 07:13:17 -04:00
2014-08-07 16:30:28 +08:00
2014-07-26 23:25:59 +08:00
2014-08-04 16:21:06 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-08-01 17:03:28 +08:00
2014-08-05 08:55:46 +08:00
2014-07-03 23:40:21 +08:00
2014-08-04 16:21:06 +08:00
2014-07-24 23:12:21 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-05-17 02:26:50 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-08-05 08:56:04 +08:00
2014-07-17 16:05:17 +08:00
2014-07-03 23:40:21 +08:00
2014-08-04 16:21:34 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00
2014-07-03 23:40:21 +08:00

beego

Build Status

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

English

API

中文文档

LICENSE

beego is licensed under the Apache Licence, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0.html).

Description
beego mirror
Readme 9.4 MiB
Languages
Go 99.6%
Shell 0.4%