NewTableFormatter 创建表格格式化器
(config *types.Config)
| 17 | |
| 18 | // NewTableFormatter 创建表格格式化器 |
| 19 | func NewTableFormatter(config *types.Config) *TableFormatter { |
| 20 | return &TableFormatter{ |
| 21 | config: config, |
| 22 | } |
| 23 | } |
| 24 | |
| 25 | // FormatSuitableTable 格式化适合域名的表格 |
| 26 | func (tf *TableFormatter) FormatSuitableTable(results []*types.DetectionResult) string { |
no outgoing calls
no test coverage detected