Sourcegraph DocsSourcegraph Docs
  • Code Intelligence

    • Cody
    • Code Search
  • Code Management

    • Batch Changes
    • Code Monitoring
    • Code Ownership
    • Code Insights
    • Notebooks
  • Platform

    • Sourcegraph Admin
    • Sourcegraph Cloud
    • Integrations
  • CLI & API

    • Sourcegraph & Cody CLI
    • Sourcegraph GraphQL API
    • Sourcegraph Stream API
  • Help & Support

    • SLAs & Premium Support
    • How to videos
    • Tutorials
    • Sourcegraph Accounts
    • Changelog
    • Technical changelog
    • Releases
  1. Docs
  2. integration
  3. go

Go dependencies integration with Sourcegraph

You can use Sourcegraph with Go modules from any Go module proxy, including open source code from proxy.golang.org or a private proxy such as Athens.

This integration makes it possible to search and navigate through the source code of published Go modules (for example, gorilla/mux@v1.8.0).

FeatureSupported?
Repository syncing✅
Repository permissions❌
Multiple Go repositories code hosts❌

Setup

See the "Go dependencies" documentation.

Repository syncing

Site admins can add Go packages to Sourcegraph.

Repository permissions

⚠️ Go dependency repositories are visible by all users of the Sourcegraph instance.

Multiple Go dependencies code hosts

⚠️ It's only possible to create one Ruby dependency code host for each Sourcegraph instance.

See the issue sourcegraph#32461 for more details about this limitation.

On this page

  1. Go dependencies integration with Sourcegraph

    1. Setup
    1. Repository syncing
    1. Repository permissions
    1. Multiple Go dependencies code hosts

Edit this page on GitHub
Questions? Give us feedback