Debian Codegraph @

gopls/internal/cmd/usage/references.hlp

raw
1 display selected identifier's references
2
3 Usage:
4 gopls [flags] references [references-flags] <position>
5
6 Example:
7
8 $ # 1-indexed location (:line:column or :#offset) of the target identifier
9 $ gopls references helper/helper.go:8:6
10 $ gopls references helper/helper.go:#53
11
12 references-flags:
13 -d,-declaration
14 include the declaration of the specified identifier in the results