Skip to content

Commit 41bd63b

Browse files
committed
fix comment
1 parent 484691b commit 41bd63b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

services/context/base.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ func (b *Base) JSON(status int, content any) {
137137
}
138138
}
139139

140-
// JSON render content as JSON
140+
// HTMLString renders string as HTML
141141
func (b *Base) HTMLString(status int, html string) {
142142
b.Resp.Header().Set("Content-Type", "text/html;charset=utf-8")
143143
b.Resp.WriteHeader(status)

0 commit comments

Comments
 (0)