Skip to content

Commit

Permalink
🎨 改进代码样式 (#40)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] authored Sep 24, 2024
1 parent 8d5f632 commit f7d29bb
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions apitable.go
Original file line number Diff line number Diff line change
Expand Up @@ -212,17 +212,11 @@ type APITableBorderColors struct {
}

func (tbc *APITableBorderColors) applyDefault() {

tbcR := reflect.ValueOf(tbc).Elem()

for i := 0; i < tbcR.NumField(); i++ {

if tbcR.Field(i).IsZero() {

tbcR.Field(i).SetString("#000000")

}

}

}

0 comments on commit f7d29bb

Please sign in to comment.