codeanalysis

package
v0.0.0-...-1a96943 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 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