layout

package module
v0.2.11 Latest Latest
Warning

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

Go to latest
Published: Jul 6, 2026 License: MIT Imports: 7 Imported by: 0

README

Documentation

Overview

Package layout provides a go/analysis analyzer enforcing the cross-package correspondence of the gomatic three-tier CLI layout: every internal/app/commands/<cmd> package has a matching internal/domain/<cmd> package, and vice versa. Each package checks its own counterpart on the filesystem, so the two directions are reported without duplication.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "layout",
	Doc:  "reports three-tier packages whose corresponding command or domain package is missing",
	Run:  run,
}

Analyzer reports command or domain packages whose counterpart is missing.

View Source
var Registration = goyze.Registration{
	Name:       "layout",
	Categories: []goyze.Category{"structure"},
	URL:        "https://docs.gomatic.dev/yze/layout",
	Analyzer:   Analyzer,
}

Registration declares this analyzer to the yze framework.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd
yze-go-layout command
Command yze-go-layout runs the layout analyzer as a standalone go/analysis checker (text and -json output, and as a `go vet -vettool`).
Command yze-go-layout runs the layout analyzer as a standalone go/analysis checker (text and -json output, and as a `go vet -vettool`).

Jump to

Keyboard shortcuts

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