lsif-go

module
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Apr 16, 2020 License: MIT

README

Go LSIF indexer

Visit https://lsif.dev/ to learn about LSIF.

Prerequisites

Installation

go get github.com/sourcegraph/lsif-go/cmd/lsif-go

Indexing your repository

After installing lsif-go onto your PATH, run the command in the root where your go.mod file is located.

$ lsif-go
...........
5 package(s), 8 file(s), 689 def(s), 13681 element(s)
Processed in 1.002227943s

Use lsif-go --help for more information.

Updating your index

To keep your index up-to-date, you can add a step to your CI to generate new data when your repository changes. For example, you can use our LSIF Go action workflow to generate and upload an index in GitHub Actions.

Directories

Path Synopsis
cmd
lsif-go
The program lsif-go is an LSIF indexer for Go.
The program lsif-go is an LSIF indexer for Go.
internal
index
Package index is used to generate an LSIF dump for a workspace.
Package index is used to generate an LSIF dump for a workspace.

Jump to

Keyboard shortcuts

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