disallow

package module
v0.0.0-...-8b8b5b8 Latest Latest
Warning

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

Go to latest
Published: Oct 10, 2019 License: MIT Imports: 6 Imported by: 0

README

disallow

Disallow is a very simple linter which disallows names.

See the godoc for the documentation

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Names

func Names(namesmap map[string]string) *analysis.Analyzer

Names returns an analyzer that disallows specific names

The namesmap defines the diagnostic message associated with each name. Names can be any identifier (such as "panic") or any name within a specific package name (such as "context.WithValue" or "http.StatusInternalServerError")

Types

This section is empty.

Jump to

Keyboard shortcuts

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