mirror of
https://github.com/fumiama/go-docx.git
synced 2026-06-04 23:30:25 +08:00
chore: make lint happy
This commit is contained in:
@@ -97,9 +97,9 @@ type BarterRabbet struct {
|
||||
// UnmarshalXML ...
|
||||
func (f *BarterRabbet) UnmarshalXML(d *xml.Decoder, start xml.StartElement) error {
|
||||
for _, attr := range start.Attr {
|
||||
switch attr.Name.Local {
|
||||
case "type":
|
||||
if attr.Name.Local == "type" {
|
||||
f.Type = attr.Value
|
||||
break
|
||||
}
|
||||
}
|
||||
// Consume the end element
|
||||
|
||||
Reference in New Issue
Block a user