mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-15 22:10:26 +08:00
add lint
This commit is contained in:
@@ -82,7 +82,7 @@ func (p *Paragraph) MarshalXML(e *xml.Encoder, start xml.StartElement) error {
|
||||
}
|
||||
}
|
||||
for _, c := range p.Children {
|
||||
e.Encode(c)
|
||||
err = e.Encode(c)
|
||||
if err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user