nexgb: gofmt
This commit is contained in:
parent
07bf9881cc
commit
1a53c005e9
|
@ -62,7 +62,7 @@ func (c *Context) Morph(xmlBytes []byte) {
|
||||||
if !ok || field.xmlName != "send_event" {
|
if !ok || field.xmlName != "send_event" {
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
field.Type = &Base{ srcName: "byte", xmlName: "CARD8", size: newFixedSize(1, true) }
|
field.Type = &Base{srcName: "byte", xmlName: "CARD8", size: newFixedSize(1, true)}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -9,7 +9,7 @@ type XMLField struct {
|
||||||
XMLName xml.Name
|
XMLName xml.Name
|
||||||
|
|
||||||
// For 'pad' element
|
// For 'pad' element
|
||||||
Bytes uint `xml:"bytes,attr"`
|
Bytes uint `xml:"bytes,attr"`
|
||||||
Align uint16 `xml:"align,attr"`
|
Align uint16 `xml:"align,attr"`
|
||||||
|
|
||||||
// For 'field', 'list', 'localfield', 'exprfield' and 'switch' elements.
|
// For 'field', 'list', 'localfield', 'exprfield' and 'switch' elements.
|
||||||
|
|
Loading…
Reference in New Issue