codeanalysis

package
Version: v0.0.0-...-232756c Latest Latest
Warning

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

Go to latest
Published: Nov 10, 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
t or T : Toggle theme light dark auto
y or Y : Canonical URL