mirror of https://github.com/golang/go.git
14 lines
366 B
Plaintext
14 lines
366 B
Plaintext
display selected identifier's references
|
|
|
|
Usage:
|
|
gopls [flags] references [references-flags] <position>
|
|
|
|
Example:
|
|
|
|
$ # 1-indexed location (:line:column or :#offset) of the target identifier
|
|
$ gopls references helper/helper.go:8:6
|
|
$ gopls references helper/helper.go:#53
|
|
|
|
references-flags:
|
|
-d include the declaration of the specified identifier in the results
|