1
0
mirror of https://github.com/astaxie/beego.git synced 2024-11-16 21:50:54 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
astaxie
fee3c2b8f9 add Strings interface can return []string sep by ;
Example:
peers = one;Two;Three
2014-01-15 17:19:03 +08:00
slene
3b99f37aa1 add a empty fake config Initialize AppConfig to avoid nil pointer runtime error. 2014-01-11 14:28:11 +08:00
傅小黑
6f3803ce8c Merge remote-tracking branch 'astaxie/master' 2013-12-24 21:59:37 +08:00
傅小黑
a1f6039d82 gofmt code 2013-12-24 21:59:00 +08:00
傅小黑
0183608a59 add comments for config package. 2013-12-24 21:57:33 +08:00
astaxie
d0e2c5c67a config ini module when set section is not exist will panic! 2013-12-24 21:57:15 +08:00
astaxie
3a0b2e3b95 beego config module json support get data like key:🔑:key 2013-12-10 18:09:58 +08:00
astaxie
b97d9896a4 update config to change section . to :: 2013-12-09 23:54:35 +08:00
astaxie
35d15b8977 fix #350 2013-12-07 14:47:20 +08:00
FightingMan
27a02082a3 miswrite a type of word 2013-12-05 19:20:08 +08:00
astaxie
3c91360d72 dictinct system pkg and third pkg 2013-12-03 21:37:39 +08:00
Pengfei Xue
8e7fe8bb66 case insensitive for section and key for ini config 2013-11-29 10:17:35 +08:00
smallfish
23ff7af0b7 update logic for check ini comments 2013-11-28 11:56:13 +08:00
astaxie
63b82c438d support section
if iniconf.String("demo.key1") != "asta" {
+		t.Fatal("get demo.key1 error")
+	}
+	if iniconf.String("demo.key2") != "xie" {
+		t.Fatal("get demo.key2 error")
+	}
2013-11-27 23:55:26 +08:00
astaxie
a0dff9148a change third repo from other to beego 2013-11-21 22:19:19 +08:00
astaxie
ac6108a87d add more json test info 2013-11-11 21:25:03 +08:00
astaxie
dee542df42 fix yaml 2013-08-22 13:46:22 +08:00
Demon
8af4ba8980 file name fixed
file name fixed :P
2013-08-22 09:15:45 +08:00
astaxie
87f8fb0750 finish config module support ini/json/xml/yaml 2013-08-22 00:07:33 +08:00