1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-23 12:00:39 +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{}
}