assertalyser

package
v0.2.3 Latest Latest
Warning

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

Go to latest
Published: Apr 27, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Overview

Package assertalyser defines an Analyzer that finds uses of `assert` and `require`, and suggests replacements for them using plain `testing` functions.

Index

Constants

View Source
const Doc = `find uses of assert and replace with standard library functionality`

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name:             "assertzapper",
	Doc:              Doc,
	URL:              "https://pkg.go.dev/drjosh.dev/assertzapper",
	Run:              run,
	RunDespiteErrors: true,
	FactTypes:        nil,
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

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