command
module
Version:
v0.0.0-...-8988efd
Opens a new window with list of versions in this module.
Published: Jan 9, 2023
License: MIT
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
find-definition-in-go
Example code for finding a Go definition. For a full walkthrough, please see my blog post implement "find definition" in 77 lines of go.
Usage
Build the command-line tool:
go build .
Lookup a definition:
./find-definition-in-go main.go 32 8
You should see this output:
"lookupAndPrintGoDef" is defined at main.go:39:6
Documentation
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.