blob: 80825c3b049d3b680802822ab129ae109a3902c1 [file] [log] [blame]
show declaration of selected identifier
Usage:
gopls [flags] definition [definition-flags] <position>
Example: show the definition of the identifier at syntax at offset 44 in this file (flag.FlagSet):
$ gopls definition internal/cmd/definition.go:44:47
$ gopls definition internal/cmd/definition.go:#1270
definition-flags:
-json
emit output in JSON format
-markdown
support markdown in responses