analyzer

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 29, 2024 License: BSD-3-Clause Imports: 12 Imported by: 0

Documentation

Index

Constants

View Source
const (
	NoInlineCommentsFlag  = "noInlineComments"
	NoPrefixCommentsFlag  = "noPrefixComments"
	SkipGeneratedFlag     = "skipGenerated"
	SectionsFlag          = "Sections"
	SectionSeparatorsFlag = "SectionSeparators"
	SectionDelimiter      = ","
)

Variables

View Source
var Analyzer = &analysis.Analyzer{
	Name: "gci",
	Doc:  "A tool that control Go package import order and make it always deterministic.",
	Run:  runAnalysis,
}

Functions

func GetSuggestedFix

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

Types

type InvalidNumberOfFilesInAnalysis

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

func (InvalidNumberOfFilesInAnalysis) Error

func (InvalidNumberOfFilesInAnalysis) Is

Jump to

Keyboard shortcuts

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