Skip to content

Tidy Executor

Terminal window
nx tidy my-go-app
OptionTypeDefaultDescription
verbosebooleanfalseEnable verbose output
{
"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