Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.
/ lsif-go Public archive

Language Server Indexing Format (LSIF) generator for Go

License

Notifications You must be signed in to change notification settings

sourcegraph/lsif-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7886287 · Apr 16, 2020

History

63 Commits
Apr 16, 2020
Apr 16, 2020
Apr 14, 2020
Feb 27, 2020
Sep 17, 2019
Apr 16, 2020
Apr 16, 2020
Jul 21, 2019
Apr 11, 2020
Feb 13, 2020
Feb 13, 2020

Repository files navigation

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.