forked from golangers/framework
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doc.go
127 lines (81 loc) · 2.42 KB
/
doc.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/*
Copyright (c) 2012 The Golanger Authors. All rights reserved.
Golanger Web Framework
=======================================================================
Golanger is a lightweight framework for writing web applications in Go.
## 框架简单实现了MVC的设计方式
### Features
* Routing
* Controllers
* Templates
* Session
* Plugins
### 约定的命名规则:
Model: 存放在models目录中
Controller: 存放在controllers目录中
View: 存放在views目录中
静态文件放在static目录中
## 运行方法
### 安装:
1.下载go安装包,部署go的编译环境
2.安装相应的扩展包<非必须>
3.执行初步命令
``` bash
cd [path]/example/helloworld/src
chmod +x ./build.sh
```
4.编译并执行程序
``` bash
./build.sh
```
5.打开浏览器访问
根据输出的端口 [port]
http://localhost:[port]
## Wishlist
* Validation -- 帮助验证管理
* Hot Compile -- 代码或者模板修改后自动编译项目,你只需要刷新的你浏览器
* Debug -- 快速定位问题
## 主要开发者
```
Li Wei <lee#leetaifook.com>
Jiang Bian <borderj#gmail.com>
```
## 联系方式
### WebSite
```
http://wWw.GoLangEr.Com
```
### 微博
```
新浪:http://weibo.com/golanger
```
### IM
```
QQ : 20660991
QQ群 : 29994666
Gtalk : lee#leetaifook.com
```
### Email
```
lee#leetaifook.com
borderj#gmail.com
```
### 邮件列表
```
https://groups.google.com/group/golang-china/
golang-china@googlegroups.com
```
Open Source License
------------------------------------------------------------------------------------------
This version of golanger framework is licensed under the terms of the Open Source GPL 3.0 license.
http://www.gnu.org/licenses/gpl.html
Alternate Licensing
------------------------------------------------------------------------------------------
Commercial and OEM Licenses are available for an alternate download of golanger framework.
This is the appropriate option if you are creating proprietary applications and you are
not prepared to distribute and share the source code of your application under the
GPL v3 license.
--
This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT OF THIRD-PARTY INTELLECTUAL PROPERTY RIGHTS. See the GNU General Public License for more details.
*/
package golanger