mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-08 01:00:25 +08:00
make lint happy
This commit is contained in:
2
pack.go
2
pack.go
@@ -31,7 +31,7 @@ func (f *Docx) pack(zipWriter *zip.Writer) (err error) {
|
||||
}
|
||||
|
||||
files["word/_rels/document.xml.rels"] = marshaller{data: &f.DocRelation}
|
||||
files["word/document.xml"] = marshaller{data: f.Document}
|
||||
files["word/document.xml"] = marshaller{data: &f.Document}
|
||||
|
||||
for _, m := range f.media {
|
||||
files[m.String()] = bytes.NewReader(m.Data)
|
||||
|
||||
Reference in New Issue
Block a user