Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LogDrawer ¶
type LogDrawer struct {
// contains filtered or unexported fields
}
LogDrawer is responsible for printing formatted output with colors.
func (*LogDrawer) DrawDependents ¶ added in v1.2.0
func (*LogDrawer) ReportExceededDeps ¶
func (l *LogDrawer) ReportExceededDeps(path string, maxDirectDeps, maxIndirectDeps, maxDepth, maxLines, maxDependent int, weight float32) bool
ReportExceededDeps checks if any package exceeds the given thresholds for dependencies, depth, lines, dependents, and weight, and reports any violations to the console. It returns true if any package exceeded the thresholds.
type TableDrawer ¶ added in v1.2.3
type TableDrawer struct {
// contains filtered or unexported fields
}
TableDrawer is responsible for drawing tables with dependency data.
func NewTableDrawer ¶ added in v1.2.3
func NewTableDrawer(maxDirectDeps, maxIndirectDeps, maxDependents, maxDepth, maxLines int) (*TableDrawer, error)
Click to show internal directories.
Click to hide internal directories.