modfile

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Jan 17, 2024 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindGoModFile

func FindGoModFile(path string) (string, error)

func GetModulePath

func GetModulePath(goModFile string) (string, error)

Types

type FileNotFoundError

type FileNotFoundError struct {
	Name string
}

func (*FileNotFoundError) Error

func (err *FileNotFoundError) Error() string

type ModulePathNotFoundError

type ModulePathNotFoundError struct{}

func (*ModulePathNotFoundError) Error

func (err *ModulePathNotFoundError) Error() string

Jump to

Keyboard shortcuts

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