1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-12 03:20:23 +08:00

make lint happy

This commit is contained in:
源文雨
2023-02-23 15:28:41 +08:00
parent b9c9164250
commit 790aed23eb
5 changed files with 7 additions and 5 deletions

View File

@@ -77,7 +77,7 @@ func Parse(reader io.ReaderAt, size int64) (doc *Docx, err error) {
return
}
// Write allows to save a docx to a writer
// WriteTo allows to save a docx to a writer
func (f *Docx) WriteTo(writer io.Writer) (_ int64, err error) {
zipWriter := zip.NewWriter(writer)
defer zipWriter.Close()