utils

package
v0.21.0 Latest Latest
Warning

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

Go to latest
Published: Oct 1, 2023 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSuggestedFix added in v0.9.0

func GetSuggestedFix(file *token.File, a, b []byte) (*analysis.SuggestedFix, error)

func MustNew added in v0.13.0

func MustNew(fn func() (*analysis.Analyzer, error)) *analysis.Analyzer

MustNew call given function that creates an analyzer and panic if returned error is not nil

Types

This section is empty.

Jump to

Keyboard shortcuts

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