modrepo

package
v1.6.1 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2021 License: BSD-3-Clause, BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Overview

Package modrepo provide a function to obtain the repo URL for a module path. It is a cut down version of golang.org/x/pkgsite/internal/source.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func URL

func URL(ctx context.Context, mod string) (repo, bugs string, _ error)

URL returns the repository corresponding to the module path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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