Documentation ¶
Index ¶
- func OutputDepGraph(path, findPkgName string, ...) error
- func OutputDepGraphviz(path, findPkgName string, ...) error
- func OutputGraphFormat(w io.Writer, path, findPkgName string, ...) error
- func OutputModGraphReverse(w io.Writer, links []ModGraphLink, findModule string, isTree bool) error
- func ReadDirImportPkgs(path, parentDirPath, module string, pkgMap PkgMap) error
- func ReadGoFilesImportPkgs(path, parentDirPath, module string, goFiles []string, pkgMap PkgMap) error
- func ReadGoModule(path string) (string, error)
- func Serve(path, addr, findPkgName string, isShowStdLib, isShowThirdLib, isReverse bool) error
- type ModGraphLink
- type ModuleGraphNode
- type PkgMap
- type PkgType
- type PkgTypeInfo
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OutputDepGraph ¶
func OutputDepGraphviz ¶
func OutputGraphFormat ¶
func OutputModGraphReverse ¶
func ReadDirImportPkgs ¶
func ReadGoFilesImportPkgs ¶
func ReadGoModule ¶
Types ¶
type ModGraphLink ¶
type ModuleGraphNode ¶
type ModuleGraphNode struct { Name string PkgType PkgType Deps []*ModuleGraphNode Parent *ModuleGraphNode `json:"-"` Index int Depth int }
type PkgMap ¶
type PkgMap map[string]map[string]PkgTypeInfo
type PkgTypeInfo ¶
Click to show internal directories.
Click to hide internal directories.