gomod

package
v0.0.0-...-b68bb41 Latest Latest
Warning

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

Go to latest
Published: Jun 30, 2020 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (

	//GoFileExtension holds the pattern for the file extensions that should be included for import scans
	GoFileExtension = ".*\\.go$"
)

Functions

func Collect

func Collect(proj *report.Project, prjPath string) error

Collect initiates collection of imports accross given path

func Exists

func Exists(goModPath string) bool

Exists checks, that go.mod file exists on given path

func ReadImports

func ReadImports(proj *report.Project, filePath string) error

ReadImports reads imports on a given filepath with the given regex params for start, end and line

Types

This section is empty.

Jump to

Keyboard shortcuts

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