Debian Codegraph @

gopls/internal/cmd/usage/definition.hlp

raw
1 show declaration of selected identifier
2
3 Usage:
4 gopls [flags] definition [definition-flags] <position>
5
6 Example: show the definition of the identifier at syntax at offset 44 in this file (flag.FlagSet):
7
8 $ gopls definition internal/cmd/definition.go:44:47
9 $ gopls definition internal/cmd/definition.go:#1270
10
11 definition-flags:
12 -json
13 emit output in JSON format
14 -markdown
15 support markdown in responses