@naxodev/gonx
Version:
Modern Nx plugin to use Go in a Nx workspace
12 lines (11 loc) • 387 B
TypeScript
import { ExecutorContext } from '@nx/devkit';
import { TidyExecutorSchema } from './schema';
/**
* This executor runs go mod tidy on the specified module.
*
* @param schema options passed to the executor
* @param context context passed to the executor
*/
export default function runExecutor(schema: TidyExecutorSchema, context: ExecutorContext): Promise<{
success: boolean;
}>;