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:
@@ -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{}
|
||||
}
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user