boundaries

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Check

func Check(opts ...Option) error

func Verify

func Verify(crossings []Crossing) error

Types

type Crossing

type Crossing struct {
	From  string
	To    string
	Pos   string
	Rule  Rule
	Legal bool
}

func Inspect

func Inspect(root string, opts ...Option) ([]Crossing, error)

func (Crossing) String

func (c Crossing) String() string

type Option

type Option func(*settings)

func Roots

func Roots(dirs ...string) Option

Roots names composition roots that carry no //go:generate diogen line for the check to find them by — a service that assembles its container by hand.

type Rule

type Rule int
const (
	Domains Rule = iota
	Outside
	Wiring
	Layers
)

Jump to

Keyboard shortcuts

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