1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-11 02:50:27 +08:00

make lint happy

This commit is contained in:
源文雨
2023-03-30 22:17:38 +08:00
parent f241cc1484
commit 34f53a967c
10 changed files with 34 additions and 34 deletions

View File

@@ -62,7 +62,7 @@ type Body struct {
}
// UnmarshalXML ...
func (b *Body) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
func (b *Body) UnmarshalXML(d *xml.Decoder, _ xml.StartElement) error {
for {
t, err := d.Token()
if err == io.EOF {
@@ -167,7 +167,7 @@ type Document struct {
}
// UnmarshalXML ...
func (doc *Document) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
func (doc *Document) UnmarshalXML(d *xml.Decoder, _ xml.StartElement) error {
for {
t, err := d.Token()
if err == io.EOF {