shush

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 6 Imported by: 0

README

🤫 shush

Go Reference actions codecov

A Go linter to report fmt.Println which may have been unintentionally left in the code for debugging purposes.

Install

go install github.com/konradreiche/shush/cmd/shush

Usage

shush ./...

You can also run it as part of go vet.

go vet -vettool=$(which shush)

Documentation

Overview

Package shush defines an Analyzer that reports usage of `fmt.Println` statements which may have been unintentionally left in the code for debugging purposes.

Index

Constants

View Source
const Doc = `` /* 135-byte string literal not displayed */

Variables

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

Analyzer defines the analysis function to find and report fmt.Println statements. It can be referenced in an analysis driver.

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