gomod

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Find

func Find(dir string) (*modfile.File, string, error)

Find attempts to find the go.mod file governing this directory by first searching for it in dir and then in dir's parents.

dir must be an absolute path in using the system's path separator.

If it finds it, Find returns the module and the absolute path to it.

Types

This section is empty.

Jump to

Keyboard shortcuts

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