codeanalysis

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

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

Go to latest
Published: Mar 1, 2019 License: MIT Imports: 13 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatSlash

func FormatSlash(pathstr string) string

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
	OutputFile 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