copyandpaste

package module
v0.0.0-...-019c704 Latest Latest
Warning

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

Go to latest
Published: Mar 13, 2025 License: MIT Imports: 9 Imported by: 0

README

copyandpaste

Do not do copy and paste things.

1. Duplication Options

2. Should not repeat args

Documentation

Index

Constants

View Source
const (
	LinterName = "copyandpaste"
)

Variables

View Source
var ErrInspectorInfo = errors.New("invalid inspector info")

Functions

func NewAnalyzer

func NewAnalyzer(setting LinterSetting) (*analysis.Analyzer, error)

Types

type LinterSetting

type LinterSetting struct{}

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

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