We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getBuildRoots
1 parent f084829 commit fd54350Copy full SHA for fd54350
go/extractor/project/project.go
@@ -287,8 +287,8 @@ func discoverWorkspaces(emitDiagnostics bool) []GoWorkspace {
287
}
288
289
290
-// Returns the directory to run the go build in and whether to use a go.mod
291
-// file.
+// Discovers Go workspaces in the current working directory.
+// Returns an array of Go workspaces and the total number of module files which we discovered.
292
func getBuildRoots(emitDiagnostics bool) (goWorkspaces []GoWorkspace, totalModuleFiles int) {
293
goWorkspaces = discoverWorkspaces(emitDiagnostics)
294
0 commit comments