1
0
mirror of https://github.com/fumiama/go-docx.git synced 2026-06-11 19:10:24 +08:00

make lint happy

This commit is contained in:
源文雨
2023-02-24 21:25:20 +08:00
parent 6e9f1befa5
commit e32b907c6a

View File

@@ -154,11 +154,11 @@ func (t *WTable) Justification(val string) *WTable {
// end右对齐。
// both两端对齐。
// distribute分散对齐。
func (t *WTableRow) Justification(val string) *WTableRow {
if t.TableRowProperties.Justification == nil {
t.TableRowProperties.Justification = &Justification{Val: val}
return t
func (w *WTableRow) Justification(val string) *WTableRow {
if w.TableRowProperties.Justification == nil {
w.TableRowProperties.Justification = &Justification{Val: val}
return w
}
t.TableRowProperties.Justification.Val = val
return t
w.TableRowProperties.Justification.Val = val
return w
}