@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 { LintExecutorSchema } from './schema';
/**
* This executor lints Go code using the `go fmt` command.
*
* @param schema options passed to the executor
* @param context context passed to the executor
*/
export default function runExecutor(schema: LintExecutorSchema, context: ExecutorContext): Promise<{
success: boolean;
}>;