Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
张磊
/
FileStorageBeego
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
429f4456
authored
2013-05-05 04:27:22 -0700
by
astaxie
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge pull request #51 from jack230230/master
两个错别字
2 parents
645bf79b
2ec4fc6f
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
docs/zh/Quickstart.md
docs/zh/Quickstart.md
View file @
429f445
...
...
@@ -341,8 +341,8 @@ beego采用了Go语言内置的模板引擎,所有模板的语法和Go的一
也就是你对应的Controller名字+请求方法名.模板后缀,也就是如果你的Controller名是
`AddController`
,请求方法是
`POST`
,默认的文件后缀是
`tpl`
,那么就会默认请求
`/viewpath/AddController/POST.tpl`
文件。
### la
u
out设计
beego支持layout设计,例如你在管理系统中,其实整个的管理界面是固定的,
支
会变化中间的部分,那么你可以通过如下的设置:
### la
y
out设计
beego支持layout设计,例如你在管理系统中,其实整个的管理界面是固定的,
只
会变化中间的部分,那么你可以通过如下的设置:
this.Layout = "admin/layout.html"
this.TplNames = "admin/add.tpl"
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
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 post a comment