1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-08 17:20:26 +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

@@ -125,7 +125,7 @@ func main() {
p := w.AddParagraph().Justification("center")
p.AddText("测试 AutoShape w:ln").Size("44")
p.AddAnchorShape(808355, 238760, "AutoShape", "auto", "straightConnector1",
_ = p.AddAnchorShape(808355, 238760, "AutoShape", "auto", "straightConnector1",
&docx.ALine{
W: 9525,
SolidFill: &docx.ASolidFill{SrgbClr: &docx.ASrgbClr{Val: "000000"}},
@@ -134,7 +134,7 @@ func main() {
TailEnd: &docx.ATailEnd{},
},
)
p.AddInlineShape(808355, 238760, "AutoShape", "auto", "straightConnector1",
_ = p.AddInlineShape(808355, 238760, "AutoShape", "auto", "straightConnector1",
&docx.ALine{
W: 9525,
SolidFill: &docx.ASolidFill{SrgbClr: &docx.ASrgbClr{Val: "000000"}},