Skip to content

Commit 4df59ae

Browse files
committed
context: fix method comments
[CI SKIP]
1 parent 39cb1e4 commit 4df59ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

context.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,12 +162,12 @@ func (ctx *Context) renderHTML(status int, setName, tplName string, data ...inte
162162
}
163163
}
164164

165-
// HTML calls Render.HTML but allows less arguments.
165+
// HTML renders the HTML with default template set.
166166
func (ctx *Context) HTML(status int, name string, data ...interface{}) {
167167
ctx.renderHTML(status, DEFAULT_TPL_SET_NAME, name, data...)
168168
}
169169

170-
// HTMLSet calls Render.HTMLSet but allows less arguments.
170+
// HTMLSet renders the HTML with given template set name.
171171
func (ctx *Context) HTMLSet(status int, setName, tplName string, data ...interface{}) {
172172
ctx.renderHTML(status, setName, tplName, data...)
173173
}

0 commit comments

Comments
 (0)