NewManager 创建批量管理器
(config *types.Config)
| 25 | |
| 26 | // NewManager 创建批量管理器 |
| 27 | func NewManager(config *types.Config) *Manager { |
| 28 | return &Manager{ |
| 29 | config: config, |
| 30 | formatter: report.NewFormatter(config), |
| 31 | tableFormatter: report.NewTableFormatter(config), |
| 32 | } |
| 33 | } |
| 34 | |
| 35 | // NewManagerWithEngine 使用现有引擎创建批量管理器 |
| 36 | func NewManagerWithEngine(engine *core.Engine, config *types.Config) *Manager { |
nothing calls this directly
no test coverage detected