styles: set width for suggest

上级 390eaf3d
...@@ -482,6 +482,7 @@ results: ...@@ -482,6 +482,7 @@ results:
- Git - Git
- [x] Revs Counts - [x] Revs Counts
- [x] Summary - [x] Summary
- [ ] [git-quick-stats](https://github.com/arzzen/git-quick-stats)
- Concept - Concept
- [x] words NLP - [x] words NLP
- [ ] to domain - [ ] to domain
......
...@@ -9,5 +9,6 @@ func NewOutput(output io.Writer) *tablewriter.Table { ...@@ -9,5 +9,6 @@ func NewOutput(output io.Writer) *tablewriter.Table {
table := tablewriter.NewWriter(output) table := tablewriter.NewWriter(output)
table.SetBorders(tablewriter.Border{Left: true, Top: false, Right: true, Bottom: false}) table.SetBorders(tablewriter.Border{Left: true, Top: false, Right: true, Bottom: false})
table.SetCenterSeparator("|") table.SetCenterSeparator("|")
table.SetColWidth(80)
return table return table
} }
| CLASS | PATTERN | REASON | | CLASS | PATTERN | REASON |
|------------|------------------|--------------------------------| |------------|------------------|----------------------------------------------------------------|
| BeeBuilder | factory, builder | too many constructor, too many | | BeeBuilder | factory, builder | too many constructor, too many parameters |
| | | parameters | | Insect | factory | too many constructor |
| Insect | factory | too many constructor | | Bee | factory, builder | complex constructor, too many constructor, too many parameters |
| Bee | factory, builder | complex constructor, too |
| | | many constructor, too many |
| | | parameters |
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册