Skip to content

Commit

Permalink
修正模板错误
Browse files Browse the repository at this point in the history
  • Loading branch information
caixw committed Jul 1, 2016
1 parent 3446714 commit 8f0d49e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/app.go
Expand Up @@ -17,7 +17,7 @@ const (
// 版本号
//
// 版本号按照 http://semver.org 中的规则
Version = "2.14.12+20160701"
Version = "2.14.13+20160701"

// 程序的正式名称
Name = "apidoc"
Expand Down
2 changes: 1 addition & 1 deletion output/static/api.html
Expand Up @@ -52,7 +52,7 @@ <h4><span class="success">SUCCESS:</span>{{.Success.Code}},&#160;{{.Success.Summ

{{if .Error}}
<div class="response error">
<h4><span class="error">ERROR:</span>{{.Success.Code}},&#160;{{.Success.Summary}}</h4>
<h4><span class="error">ERROR:</span>{{.Error.Code}},&#160;{{.Error.Summary}}</h4>
{{template "response" .Error}}
</div>
{{end}}
Expand Down

0 comments on commit 8f0d49e

Please sign in to comment.