find-definition-in-go

command module
v0.0.0-...-8988efd Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 9, 2023 License: MIT Imports: 7 Imported by: 0

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

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL