Commit acadea6a authored by astaxie's avatar astaxie

update xml

parent bd61dd9f
...@@ -165,7 +165,7 @@ func (output *BeegoOutput) Jsonp(data interface{}, hasIndent bool) error { ...@@ -165,7 +165,7 @@ func (output *BeegoOutput) Jsonp(data interface{}, hasIndent bool) error {
return nil return nil
} }
func (output *BeegoOutput) Xml(data string, hasIndent bool) error { func (output *BeegoOutput) Xml(data interface{}, hasIndent bool) error {
output.Header("Content-Type", "application/xml;charset=UTF-8") output.Header("Content-Type", "application/xml;charset=UTF-8")
var content []byte var content []byte
var err error var err error
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment