acadea6a by astaxie

update xml

1 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 {
165 return nil 165 return nil
166 } 166 }
167 167
168 func (output *BeegoOutput) Xml(data string, hasIndent bool) error { 168 func (output *BeegoOutput) Xml(data interface{}, hasIndent bool) error {
169 output.Header("Content-Type", "application/xml;charset=UTF-8") 169 output.Header("Content-Type", "application/xml;charset=UTF-8")
170 var content []byte 170 var content []byte
171 var err error 171 var err error
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!