Versions in this module Expand all Collapse all v0 v0.1.0 Dec 5, 2022 Changes in this version + 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 struct + Source string + Target string + type ModuleGraphNode struct + Deps []*ModuleGraphNode + Depth int + Index int + Name string + Parent *ModuleGraphNode + PkgType PkgType + type PkgMap map[string]map[string]PkgTypeInfo + type PkgType int + const PkgTypeCurrentModule + const PkgTypeStandard + const PkgTypeThirdModule + type PkgTypeInfo struct + IsRoot bool + PkgType PkgType