Documentation
¶
Index ¶
Constants ¶
View Source
const FileName = "package_dependencies.md"
FileName is the name of the documentation file (package_dependencies.md).
Variables ¶
This section is empty.
Functions ¶
func GenerateTable ¶
func GenerateTable( idx int, links data.PatternList, docFiles []string, depMap data.DependencyMap, rootPkg string, ) string
GenerateTable generates the dependency matrix for the idx package(s) from links.
func RelPath ¶
RelPath calculates the relative path from 'basepath' to 'targetpath'. This is very similar to filepath.Rel() but not OS specific but it is working by purely lexical processing like the path package.
func WriteDocs ¶
func WriteDocs( dtPkgs []string, depMap data.DependencyMap, linkDocPkgs map[string]struct{}, rootPkg, root string, )
WriteDocs generates documentation for the packages 'dtPkgs' and writes it to files. If linkDocPkgs is filled it will be used to link to packages instead of reporting all the details in one table.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.