analyzer

package
v1.0.0 Latest Latest
Warning

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

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

Documentation

Overview

Package analyzer contains the adapter for the go/analysis package.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewAnalyzer

func NewAnalyzer(s consider.Settings) *analysis.Analyzer

NewAnalyzer returns a new instance with the given settings.

func NewAnalyzerFromFlags

func NewAnalyzerFromFlags() *analysis.Analyzer

NewAnalyzerFromFlags returns an instance that defers to configuration via flags.

func NewAnalyzerFromSettingsFile

func NewAnalyzerFromSettingsFile(settingsFile string) *analysis.Analyzer

NewAnalyzerFromSettingsFile returns a new instance that will load the settings from a file at given path. If the given string is empty, defaults will apply.

Types

This section is empty.

Jump to

Keyboard shortcuts

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