gomodule

package
v0.14.1-0...-8b31b97 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterRequire

func FilterRequire(dependencies []*modfile.Require, paths ...string) []*modfile.Require

FilterRequire filters dependencies under require section by their paths.

func LocatePath

func LocatePath(pkg module.Version) (path string, err error)

LocatePath locates pkg's absolute path managed by 'go mod' on the local filesystem.

func ParseAt

func ParseAt(path string) (*modfile.File, error)

ParseAt finds and parses go.mod at app's path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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