importroll

package module
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2020 License: MIT Imports: 9 Imported by: 0

README

importroll

importroll is a control tool for import.

Install

Get binary from GitHub Releases

Usage

$ cat importroll.yaml
"*/controller*":
  deny:
    - "*/repository*"
"*/repository*":
  deny:
    - "*/service*"
$ importroll -rule=./importroll.yaml ./...

License

MIT

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:     "importroll",
	Doc:      "importroll",
	Run:      run,
	Requires: []*analysis.Analyzer{},
}

Functions

This section is empty.

Types

type Rule

type Rule struct {
	Deny []string
}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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