restrictpkg

package module
v0.0.0-...-4327a42 Latest Latest
Warning

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

Go to latest
Published: Feb 26, 2020 License: MIT Imports: 6 Imported by: 0

README

restrictpkg

restrictpkg is a static analysis tool to restrict which package to use.

Usage

Let PACKAGE1 and PACKAGE2 be the names of the packages you want to restrict.

$ restrictpkg -packages PACKAGE1,PACKAGE2,...

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RestrictPackageAnalyzer = &analysis.Analyzer{
	Name: "restrictpkg",
	Doc:  doc,
	Run:  run,
	Requires: []*analysis.Analyzer{
		inspect.Analyzer,
	},
	RunDespiteErrors: false,
}

RestrictPackageAnalyzer checks if you are using banned package

Functions

This section is empty.

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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