reports

package
v0.16.2 Latest Latest
Warning

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

Go to latest
Published: Mar 24, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Builder

type Builder struct {
	// contains filtered or unexported fields
}

func NewBuilder

func NewBuilder(fset *token.FileSet, oldExpr ast.Expr) *Builder

func (*Builder) AddIssue

func (b *Builder) AddIssue(suggestFix bool, issue string, args ...any)

func (*Builder) Build

func (b *Builder) Build() analysis.Diagnostic

func (*Builder) HasReport

func (b *Builder) HasReport() bool

func (*Builder) SetFixOffer

func (b *Builder) SetFixOffer(fset *token.FileSet, fixOffer ast.Expr)

Jump to

Keyboard shortcuts

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