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

make lint happy

This commit is contained in:
源文雨
2023-03-30 22:13:01 +08:00
parent c95683a4ee
commit f241cc1484
4 changed files with 8 additions and 7 deletions

View File

@@ -79,7 +79,7 @@ type marshaller struct {
}
// Read is fake and is to trigger io.WriterTo
func (m marshaller) Read(p []byte) (n int, err error) {
func (m marshaller) Read(_ []byte) (int, error) {
return 0, os.ErrInvalid
}