importcheck

package module
v0.0.0-...-a7bba73 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2019 License: MIT Imports: 2 Imported by: 0

README

importcheck

Analyzer for validate package relationships.

Demo

$ GOPATH=`pwd`/testdata:$GOPATH go run ./cmd/main.go ./testdata/src/...
${GOPATH}/github.com/budougumi0617/importcheck/testdata/src/handler/h.go:7:2: handler must not include "repository"
exit status 3

Documentation

Index

Constants

View Source
const Doc = "importcheck confirms clean architecture."

Doc writes description this analyzer.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "importcheck",
	Doc:  Doc,
	Run:  run,
}

Analyzer provides static analysis for layered architecture.

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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