mapiter

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

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

Go to latest
Published: Oct 9, 2020 License: MIT Imports: 4 Imported by: 0

README

mapiter

mapiter is a Go static analysis tool to find instances where range is used to iterate over a map.

Installation

go get -u github.com/cleroux/mapiter

Usage

make install
go vet -vettool=$(which mapiter) ./...
Flags
  • -tests (default true) - Include test files in analysis

Documentation

Overview

mapiter provides a linter that reports code that iterates over a map.

Index

Constants

This section is empty.

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "mapiter",
	Doc:  "reports code that iterates over a map",
	Run:  run,
}

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