Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
B
beego
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
go
beego
Commits
6e297267
Commit
6e297267
authored
Aug 01, 2013
by
astaxie
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #116 from lqixv/master
更新了部分部分文字
parents
0ac7e342
a39139c6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
Quickstart.md
docs/zh/Quickstart.md
+4
-4
No files found.
docs/zh/Quickstart.md
View file @
6e297267
...
...
@@ -115,7 +115,7 @@
2013/04/13 19:36:17
[
W
]
[
stat views: no such file or directory
]
-
模板
会自动重新加载不
缓存。
-
模板
每次使用都会重新加载,不进行
缓存。
-
如果服务端出错,那么就会在浏览器端显示如下类似的截图:
![](
images/dev.png
)
...
...
@@ -643,11 +643,11 @@ beego更加人性化的还有一个设计就是支持用户自定义字符串错
## response处理
response可能会有
集中
情况:
response可能会有
几种
情况:
1.
模板输出
模板输出
上面模板介绍里面已经介绍,beego会在执行完相应的Controller里面的对应的Method之后输出到模板。
上面模板介绍里面已经介绍,beego会在执行完相应的Controller里面的对应的Method之后输出到模板。
2.
跳转
...
...
@@ -686,7 +686,7 @@ beego中使用session相当方便,只要在main入口函数中设置如下:
this.TplNames = "index.tpl"
}
上面的例子中我们知道
session有几个方便的方法:
session有几个方便的方法:
-
SetSession(name string, value interface{})
-
GetSession(name string) interface{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment