WithToolsets specifies which toolsets should be enabled. Special keywords: - "all": enables all toolsets - "default": expands to toolsets marked with Default: true in their metadata Input strings are trimmed of whitespace and duplicates are removed. Pass nil to use default toolsets. Pass an empty s
(toolsetIDs []string)
| 109 | // Pass nil to use default toolsets. Pass an empty slice to disable all toolsets. |
| 110 | // Returns self for chaining. |
| 111 | func (b *Builder) WithToolsets(toolsetIDs []string) *Builder { |
| 112 | b.toolsetIDs = toolsetIDs |
| 113 | b.toolsetIDsIsNil = toolsetIDs == nil |
| 114 | return b |
| 115 | } |
| 116 | |
| 117 | // WithTools specifies additional tools that bypass toolset filtering. |
| 118 | // These tools are additive - they will be included even if their toolset is not enabled. |
no outgoing calls