@naxodev/gonx
Version:
Modern Nx plugin to use Go in a Nx workspace
9 lines (8 loc) • 316 B
TypeScript
/**
* Determines if a Go module contains a main package,
* indicating it is an application rather than a library.
*
* @param projectRoot The root directory of the project
* @returns True if the project is an application, false otherwise
*/
export declare function hasMainPackage(projectRoot: string): boolean;