Versions in this module Expand all Collapse all v1 v1.3.1 Mar 7, 2024 Changes in this version + type AddConstantRule struct + func (*AddConstantRule) Name() string + func (r *AddConstantRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type ArgumentsLimitRule struct + func (*ArgumentsLimitRule) Name() string + func (r *ArgumentsLimitRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type AtomicRule struct + func (*AtomicRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*AtomicRule) Name() string + type BannedCharsRule struct + func (*BannedCharsRule) Name() string + func (r *BannedCharsRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type BareReturnRule struct + func (*BareReturnRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*BareReturnRule) Name() string + type BlankImportsRule struct + func (*BlankImportsRule) Name() string + func (r *BlankImportsRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + type BoolLiteralRule struct + func (*BoolLiteralRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*BoolLiteralRule) Name() string + type CallToGCRule struct + func (*CallToGCRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*CallToGCRule) Name() string + type CognitiveComplexityRule struct + func (*CognitiveComplexityRule) Name() string + func (r *CognitiveComplexityRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type ConfusingNamingRule struct + func (*ConfusingNamingRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*ConfusingNamingRule) Name() string + type ConfusingResultsRule struct + func (*ConfusingResultsRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*ConfusingResultsRule) Name() string + type ConstantLogicalExprRule struct + func (*ConstantLogicalExprRule) Name() string + func (r *ConstantLogicalExprRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + type ContextAsArgumentRule struct + func (*ContextAsArgumentRule) Name() string + func (r *ContextAsArgumentRule) Apply(file *lint.File, args lint.Arguments) []lint.Failure + type ContextKeysType struct + func (*ContextKeysType) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*ContextKeysType) Name() string + type CyclomaticRule struct + func (*CyclomaticRule) Name() string + func (r *CyclomaticRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type DataRaceRule struct + func (*DataRaceRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*DataRaceRule) Name() string + type DeepExitRule struct + func (*DeepExitRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*DeepExitRule) Name() string + type DeferRule struct + func (*DeferRule) Name() string + func (r *DeferRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type DotImportsRule struct + func (*DotImportsRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*DotImportsRule) Name() string + type DuplicatedImportsRule struct + func (*DuplicatedImportsRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*DuplicatedImportsRule) Name() string + type EarlyReturnRule struct + func (*EarlyReturnRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*EarlyReturnRule) Name() string + type EmptyBlockRule struct + func (*EmptyBlockRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*EmptyBlockRule) Name() string + type EmptyLinesRule struct + func (*EmptyLinesRule) Name() string + func (r *EmptyLinesRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + type ErrorNamingRule struct + func (*ErrorNamingRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*ErrorNamingRule) Name() string + type ErrorReturnRule struct + func (*ErrorReturnRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*ErrorReturnRule) Name() string + type ErrorStringsRule struct + func (*ErrorStringsRule) Name() string + func (r *ErrorStringsRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type ErrorfRule struct + func (*ErrorfRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*ErrorfRule) Name() string + type ExportedRule struct + func (*ExportedRule) Name() string + func (r *ExportedRule) Apply(file *lint.File, args lint.Arguments) []lint.Failure + type FileHeaderRule struct + func (*FileHeaderRule) Name() string + func (r *FileHeaderRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type FlagParamRule struct + func (*FlagParamRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*FlagParamRule) Name() string + type FunctionLength struct + func (*FunctionLength) Name() string + func (r *FunctionLength) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type FunctionResultsLimitRule struct + func (*FunctionResultsLimitRule) Name() string + func (r *FunctionResultsLimitRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type GetReturnRule struct + func (*GetReturnRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*GetReturnRule) Name() string + type IdenticalBranchesRule struct + func (*IdenticalBranchesRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*IdenticalBranchesRule) Name() string + type IfReturnRule struct + func (*IfReturnRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*IfReturnRule) Name() string + type ImportShadowingRule struct + func (*ImportShadowingRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*ImportShadowingRule) Name() string + type ImportsBlacklistRule struct + func (*ImportsBlacklistRule) Name() string + func (r *ImportsBlacklistRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type IncrementDecrementRule struct + func (*IncrementDecrementRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*IncrementDecrementRule) Name() string + type IndentErrorFlowRule struct + func (*IndentErrorFlowRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*IndentErrorFlowRule) Name() string + type LineLengthLimitRule struct + func (*LineLengthLimitRule) Name() string + func (r *LineLengthLimitRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type MaxPublicStructsRule struct + func (*MaxPublicStructsRule) Name() string + func (r *MaxPublicStructsRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type ModifiesParamRule struct + func (*ModifiesParamRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*ModifiesParamRule) Name() string + type ModifiesValRecRule struct + func (*ModifiesValRecRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*ModifiesValRecRule) Name() string + type NestedStructs struct + func (*NestedStructs) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*NestedStructs) Name() string + type OptimizeOperandsOrderRule struct + func (*OptimizeOperandsOrderRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*OptimizeOperandsOrderRule) Name() string + type PackageCommentsRule struct + func (*PackageCommentsRule) Name() string + func (r *PackageCommentsRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + type RangeRule struct + func (*RangeRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*RangeRule) Name() string + type RangeValAddress struct + func (*RangeValAddress) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*RangeValAddress) Name() string + type RangeValInClosureRule struct + func (*RangeValInClosureRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*RangeValInClosureRule) Name() string + type ReceiverNamingRule struct + func (*ReceiverNamingRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*ReceiverNamingRule) Name() string + type RedefinesBuiltinIDRule struct + func (*RedefinesBuiltinIDRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*RedefinesBuiltinIDRule) Name() string + type StringFormatRule struct + func (*StringFormatRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + func (*StringFormatRule) Name() string + func (StringFormatRule) ParseArgumentsTest(arguments lint.Arguments) *string + type StringOfIntRule struct + func (*StringOfIntRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*StringOfIntRule) Name() string + type StructTagRule struct + func (*StructTagRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*StructTagRule) Name() string + type SuperfluousElseRule struct + func (*SuperfluousElseRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*SuperfluousElseRule) Name() string + type TimeEqualRule struct + func (*TimeEqualRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*TimeEqualRule) Name() string + type TimeNamingRule struct + func (*TimeNamingRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*TimeNamingRule) Name() string + type UnconditionalRecursionRule struct + func (*UnconditionalRecursionRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*UnconditionalRecursionRule) Name() string + type UnexportedNamingRule struct + func (*UnexportedNamingRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*UnexportedNamingRule) Name() string + type UnexportedReturnRule struct + func (*UnexportedReturnRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*UnexportedReturnRule) Name() string + type UnhandledErrorRule struct + func (*UnhandledErrorRule) Name() string + func (r *UnhandledErrorRule) Apply(file *lint.File, args lint.Arguments) []lint.Failure + type UnnecessaryStmtRule struct + func (*UnnecessaryStmtRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*UnnecessaryStmtRule) Name() string + type UnreachableCodeRule struct + func (*UnreachableCodeRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*UnreachableCodeRule) Name() string + type UnusedParamRule struct + func (*UnusedParamRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*UnusedParamRule) Name() string + type UnusedReceiverRule struct + func (*UnusedReceiverRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*UnusedReceiverRule) Name() string + type UseAnyRule struct + func (*UseAnyRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*UseAnyRule) Name() string + type UselessBreak struct + func (*UselessBreak) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*UselessBreak) Name() string + type VarDeclarationsRule struct + func (*VarDeclarationsRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*VarDeclarationsRule) Name() string + type VarNamingRule struct + func (*VarNamingRule) Name() string + func (r *VarNamingRule) Apply(file *lint.File, arguments lint.Arguments) []lint.Failure + type WaitGroupByValueRule struct + func (*WaitGroupByValueRule) Apply(file *lint.File, _ lint.Arguments) []lint.Failure + func (*WaitGroupByValueRule) Name() string