Remove Debug Message

This commit is contained in:
Justin Hammond 2022-10-17 23:05:15 +08:00
parent b4e68a393b
commit 956ba38b2b
2 changed files with 1 additions and 1 deletions

1
.gitignore vendored
View file

@ -13,3 +13,4 @@
# Dependency directories (remove the comment below to include it) # Dependency directories (remove the comment below to include it)
# vendor/ # vendor/
zabbix_session

View file

@ -55,7 +55,6 @@ func (o *ZabbixController) GetAll() {
o.Data["content"] = "Failed to Generate RSS"; o.Data["content"] = "Failed to Generate RSS";
o.Abort("500") o.Abort("500")
} }
fmt.Printf("%+v", rss)
o.Ctx.ResponseWriter.Header().Set("Content-Type", "application/xml") o.Ctx.ResponseWriter.Header().Set("Content-Type", "application/xml")
o.Ctx.WriteString(strings.TrimPrefix(rss, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>")) o.Ctx.WriteString(strings.TrimPrefix(rss, "<?xml version=\"1.0\" encoding=\"UTF-8\"?>"))
// o.Resp(rss) // o.Resp(rss)