1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-09 01:30:25 +08:00

make lint happy

This commit is contained in:
源文雨
2023-03-02 18:12:08 +08:00
parent 64b3464cbf
commit 8b3cf0260d
4 changed files with 10 additions and 6 deletions

View File

@@ -26,6 +26,7 @@ import (
"strings"
)
// WordprocessingCanvas ...
type WordprocessingCanvas struct {
XMLName xml.Name `xml:"wpc:wpc,omitempty"`
Background *WPCBackground
@@ -81,6 +82,7 @@ func (c *WordprocessingCanvas) UnmarshalXML(d *xml.Decoder, start xml.StartEleme
return nil
}
// WPCBackground ...
type WPCBackground struct {
XMLName xml.Name `xml:"wpc:bg,omitempty"`
NoFill *struct{} `xml:"a:noFill,omitempty"`
@@ -113,6 +115,7 @@ func (b *WPCBackground) UnmarshalXML(d *xml.Decoder, start xml.StartElement) (er
return nil
}
// WPCWhole ...
type WPCWhole struct {
XMLName xml.Name `xml:"wpc:whole,omitempty"`
Line *ALine