package
Version:
v0.0.0-...-e4b21f5
Opens a new window with list of versions in this module.
Published: Dec 25, 2023
License: MIT
Opens a new window with license information.
Imports: 3
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
Documentation
¶
type Function struct {
Name string `json:"name"`
LineCount int `json:"line_count"`
}
type Link struct {
From *Node `json:"from"`
To *Node `json:"to"`
IsVisible bool `json:"is_visible"`
}
type Node struct {
PackageName string `json:"package_name"`
Path string `json:"path"`
Parent string `json:"parent"`
Type Type `json:"type"`
ImportRaw []string `json:"-"`
LineCount int `json:"line_count"`
Instability *float64 `json:"instability"`
Functions []Function `json:"functions"`
}
type Tree struct {
Root *Node `json:"root"`
Nodes map[string]*Node `json:"nodes"`
Links []*Link `json:"links"`
}
func (t *Tree) CalculateInstability()
func (t *Tree) GenerateLinks()
Source Files
¶
Click to show internal directories.
Click to hide internal directories.