golang.org/x/tools/gopls@v0.15.3/internal/cmd/usage/references.hlp (about) 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