archcheck

package
v0.5.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 26, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Location

type Location struct {
	File   string `json:"file"`
	Line   int    `json:"line,omitempty"`
	Domain string `json:"domain,omitempty"`
	Layer  string `json:"layer,omitempty"`
}

type Report

type Report struct {
	Violations      []Violation `json:"violations"`
	TotalImports    int         `json:"total_imports"`
	ViolationsCount int         `json:"violations_count"`
	Status          string      `json:"status"`
}

func Run

func Run(cfg *config.Config, repoRoot string) (Report, error)

type Violation

type Violation struct {
	Source  Location `json:"source"`
	Target  Location `json:"target"`
	Rule    string   `json:"rule"`
	Message string   `json:"message"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL