Debian Codegraph @

gopls/internal/test/marker/testdata/mcptools/workspace.txt

raw
1 This test exercises the "go_workspace" MCP tool.
2
3 -- flags --
4 -mcp
5 -min_go_command=go1.23
6
7 -- go.work --
8 go 1.23.0
9
10 //@mcptool("go_workspace", `{}`, output=workspace)
11
12 use (
13 ./a
14 ./b
15 )
16
17 -- a/go.mod --
18 module example.com/a
19
20 go 1.23.0
21
22 -- a/a.go --
23 package a
24
25 -- b/go.mod --
26 module example.com/b
27
28 go 1.23.0
29
30 -- b/b.go --
31 package b
32
33 -- @workspace --
34 The `$WORKDIR` directory is in the go workspace defined by `$WORKDIR/go.work`, with the following main modules:
35 $WORKDIR/a/go.mod (module example.com/a)
36 $WORKDIR/b/go.mod (module example.com/b)
37