Renamed receiver names

This commit is contained in:
Deluan
2016-02-25 18:47:25 -05:00
parent 39757f884a
commit a1829d432a
4 changed files with 12 additions and 12 deletions
+2 -2
View File
@@ -8,10 +8,10 @@ import (
type PingController struct{ beego.Controller }
func (this *PingController) Get() {
func (c *PingController) Get() {
response := responses.NewEmpty()
xmlBody, _ := xml.Marshal(response)
this.Ctx.Output.Body([]byte(xml.Header + string(xmlBody)))
c.Ctx.Output.Body([]byte(xml.Header + string(xmlBody)))
}