Tidy Executor
nx tidy my-go-appOptions
Section titled “Options”| Option | Type | Default | Description |
|---|---|---|---|
| verbose | boolean | false | Enable verbose output |
Default Inferred
Section titled “Default Inferred”{ "executor": "@naxodev/gonx:tidy", "cache": true, "inputs": ["{projectRoot}/go.mod", "{projectRoot}/go.sum", "{projectRoot}/**/*.{go}"]}- The tidy executor is cacheable
- Uses the official Go mod tidy command in the background
- Ensures that the go.mod file accurately reflects your project dependencies