mirror of
https://github.com/fumiama/go-docx.git
synced 2026-07-02 08:50:25 +08:00
make lint happy
This commit is contained in:
12
apitable.go
12
apitable.go
@@ -154,11 +154,11 @@ func (t *WTable) Justification(val string) *WTable {
|
|||||||
// end:右对齐。
|
// end:右对齐。
|
||||||
// both:两端对齐。
|
// both:两端对齐。
|
||||||
// distribute:分散对齐。
|
// distribute:分散对齐。
|
||||||
func (t *WTableRow) Justification(val string) *WTableRow {
|
func (w *WTableRow) Justification(val string) *WTableRow {
|
||||||
if t.TableRowProperties.Justification == nil {
|
if w.TableRowProperties.Justification == nil {
|
||||||
t.TableRowProperties.Justification = &Justification{Val: val}
|
w.TableRowProperties.Justification = &Justification{Val: val}
|
||||||
return t
|
return w
|
||||||
}
|
}
|
||||||
t.TableRowProperties.Justification.Val = val
|
w.TableRowProperties.Justification.Val = val
|
||||||
return t
|
return w
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user