codeanalysis

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2020 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasPrefixInSomeElement

func HasPrefixInSomeElement(value string, src []string) bool

func ParsePackageNameFromGoFile

func ParsePackageNameFromGoFile(filepath string) string

func PathExists

func PathExists(path string) bool

Types

type AnalysisResult

type AnalysisResult interface {
	OutputToFile(logfile string)
}

func AnalysisCode

func AnalysisCode(config Config) AnalysisResult

type Config

type Config struct {
	CodeDir    string
	GopathDir  string
	VendorDir  string
	IgnoreDirs []string
}

type DependencyRelation

type DependencyRelation struct {
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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