mirror of
https://github.com/astaxie/beego.git
synced 2025-07-12 00:11:02 +00:00
fix comments typo in beego package/
This commit is contained in:
@ -241,7 +241,7 @@ func (c *Controller) ServeJson(encoding ...bool) {
|
||||
c.Ctx.Output.Json(c.Data["json"], hasIndent, hasencoding)
|
||||
}
|
||||
|
||||
// ServeJson sends a jsonp response.
|
||||
// ServeJsonp sends a jsonp response.
|
||||
func (c *Controller) ServeJsonp() {
|
||||
var hasIndent bool
|
||||
if RunMode == "prod" {
|
||||
@ -252,7 +252,7 @@ func (c *Controller) ServeJsonp() {
|
||||
c.Ctx.Output.Jsonp(c.Data["jsonp"], hasIndent)
|
||||
}
|
||||
|
||||
// ServeJson sends xml response.
|
||||
// ServeXml sends xml response.
|
||||
func (c *Controller) ServeXml() {
|
||||
var hasIndent bool
|
||||
if RunMode == "prod" {
|
||||
|
Reference in New Issue
Block a user