update xml
Showing
1 changed file
with
1 additions
and
1 deletions
| ... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment