Skip to content

Commit 1fd60e6

Browse files
committed
#### Version 1.6
* Remove: remove all features in dotweb! * Remove: remove ServerConfig().EnabledAutoCORS. * Add: add example/README.md * Demo for how to use ConfigSet tools? - first define config file named 'user-conf.xml' ``` <?xml version="1.0" encoding="UTF-8"?> <config> <set key="set1" value="1" /> <set key="set2" value="2" /> <set key="set3" value="3" /> <set key="set4" value="4" /> </config> ``` - include config file ``` err := app.Config.IncludeConfigSet("/home/your/user-conf.xml", config.ConfigType_XML) ``` - use it in your HttpContext ``` value := ctx.ConfigSet().GetString("set1") ``` * 2019-02-02 12:00
1 parent d7af364 commit 1fd60e6

2 files changed

Lines changed: 8 additions & 1 deletion

File tree

example/README.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# DotWeb
2+
Simple and easy go web micro framework
3+
4+
More examples: https://github.com/devfeel/dotweb-example
5+
6+
## Contact Us
7+
#### QQ-Group:193409346 - <a target="_blank" href="http://shang.qq.com/wpa/qunwpa?idkey=836e11667837ad674462a4a97fb21fba487cd3dff5b2e1ca0d7ea4c2324b4574"><img border="0" src="http://pub.idqqimg.com/wpa/images/group.png" alt="Golang-Devfeel" title="Golang-Devfeel"></a>
8+
#### Gitter:[![Gitter](https://badges.gitter.im/devfeel/dotweb.svg)](https://gitter.im/devfeel-dotweb/wechat)

server_test.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ func TestNewHttpServer(t *testing.T) {
1717
test.NotNil(t, server.SessionConfig)
1818
test.NotNil(t, server.lock_session)
1919
test.NotNil(t, server.binder)
20-
test.NotNil(t, server.Features)
2120
test.NotNil(t, server.pool)
2221
test.NotNil(t, server.pool.context)
2322
test.NotNil(t, server.pool.request)

0 commit comments

Comments
 (0)