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

chore: make lint happy

This commit is contained in:
源文雨
2024-09-25 00:29:01 +09:00
parent 753783d2e3
commit 8d5f632f73
3 changed files with 4 additions and 1 deletions

View File

@@ -70,7 +70,8 @@ func (p *Paragraph) AddPageBreaks() *Run {
return run
}
func (p *Paragraph) AddStyle(val string) *Paragraph {
// Style name
func (p *Paragraph) Style(val string) *Paragraph {
if p.Properties == nil {
p.Properties = &ParagraphProperties{}
}

View File

@@ -83,6 +83,7 @@ func (r *Run) Highlight(val string) *Run {
return r
}
// Strike ...
func (r *Run) Strike(val bool) *Run {
trueFalseStr := "false"
if val {

View File

@@ -201,6 +201,7 @@ func (c *WTableCell) Shade(val, color, fill string) *WTableCell {
return c
}
// APITableBorderColors customizable param
type APITableBorderColors struct {
Top string
Left string