golinters

package
v1.10.1 Latest Latest
Warning

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

Go to latest
Published: Aug 27, 2018 License: AGPL-3.0 Imports: 54 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Deadcode

type Deadcode struct{}

func (Deadcode) Desc

func (Deadcode) Desc() string

func (Deadcode) Name

func (Deadcode) Name() string

func (Deadcode) Run

func (d Deadcode) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Depguard

type Depguard struct{}

func (Depguard) Desc

func (Depguard) Desc() string

func (Depguard) Name

func (Depguard) Name() string

func (Depguard) Run

func (d Depguard) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Dupl

type Dupl struct{}

func (Dupl) Desc

func (Dupl) Desc() string

func (Dupl) Name

func (Dupl) Name() string

func (Dupl) Run

func (d Dupl) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Errcheck

type Errcheck struct{}

func (Errcheck) Desc

func (Errcheck) Desc() string

func (Errcheck) Name

func (Errcheck) Name() string

func (Errcheck) Run

func (e Errcheck) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Gas

type Gas struct{}

func (Gas) Desc

func (Gas) Desc() string

func (Gas) Name

func (Gas) Name() string

func (Gas) Run

func (lint Gas) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Goconst

type Goconst struct{}

func (Goconst) Desc

func (Goconst) Desc() string

func (Goconst) Name

func (Goconst) Name() string

func (Goconst) Run

func (lint Goconst) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Gocyclo

type Gocyclo struct{}

func (Gocyclo) Desc

func (Gocyclo) Desc() string

func (Gocyclo) Name

func (Gocyclo) Name() string

func (Gocyclo) Run

func (g Gocyclo) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Gofmt

type Gofmt struct {
	UseGoimports bool
}

func (Gofmt) Desc

func (g Gofmt) Desc() string

func (Gofmt) Name

func (g Gofmt) Name() string

func (Gofmt) Run

func (g Gofmt) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Golint

type Golint struct{}

func (Golint) Desc

func (Golint) Desc() string

func (Golint) Name

func (Golint) Name() string

func (Golint) Run

func (g Golint) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Govet

type Govet struct{}

func (Govet) Desc

func (Govet) Desc() string

func (Govet) Name

func (Govet) Name() string

func (Govet) Run

func (g Govet) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Ineffassign

type Ineffassign struct{}

func (Ineffassign) Desc

func (Ineffassign) Desc() string

func (Ineffassign) Name

func (Ineffassign) Name() string

func (Ineffassign) Run

func (lint Ineffassign) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Interfacer

type Interfacer struct{}

func (Interfacer) Desc

func (Interfacer) Desc() string

func (Interfacer) Name

func (Interfacer) Name() string

func (Interfacer) Run

func (lint Interfacer) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Lll

type Lll struct{}

func (Lll) Desc

func (Lll) Desc() string

func (Lll) Name

func (Lll) Name() string

func (Lll) Run

func (lint Lll) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Maligned

type Maligned struct{}

func (Maligned) Desc

func (Maligned) Desc() string

func (Maligned) Name

func (Maligned) Name() string

func (Maligned) Run

func (m Maligned) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Megacheck

type Megacheck struct {
	UnusedEnabled      bool
	GosimpleEnabled    bool
	StaticcheckEnabled bool
}

func (Megacheck) Desc

func (m Megacheck) Desc() string

func (Megacheck) Name

func (m Megacheck) Name() string

func (Megacheck) Run

func (m Megacheck) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Misspell

type Misspell struct{}

func (Misspell) Desc

func (Misspell) Desc() string

func (Misspell) Name

func (Misspell) Name() string

func (Misspell) Run

func (lint Misspell) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Nakedret

type Nakedret struct{}

func (Nakedret) Desc

func (Nakedret) Desc() string

func (Nakedret) Name

func (Nakedret) Name() string

func (Nakedret) Run

func (lint Nakedret) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Prealloc

type Prealloc struct{}

func (Prealloc) Desc

func (Prealloc) Desc() string

func (Prealloc) Name

func (Prealloc) Name() string

func (Prealloc) Run

func (lint Prealloc) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Structcheck

type Structcheck struct{}

func (Structcheck) Desc

func (Structcheck) Desc() string

func (Structcheck) Name

func (Structcheck) Name() string

func (Structcheck) Run

func (s Structcheck) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type TypeCheck

type TypeCheck struct{}

func (TypeCheck) Desc

func (TypeCheck) Desc() string

func (TypeCheck) Name

func (TypeCheck) Name() string

func (TypeCheck) Run

func (lint TypeCheck) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Unconvert

type Unconvert struct{}

func (Unconvert) Desc

func (Unconvert) Desc() string

func (Unconvert) Name

func (Unconvert) Name() string

func (Unconvert) Run

func (lint Unconvert) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Unparam

type Unparam struct{}

func (Unparam) Desc

func (Unparam) Desc() string

func (Unparam) Name

func (Unparam) Name() string

func (Unparam) Run

func (lint Unparam) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

type Varcheck

type Varcheck struct{}

func (Varcheck) Desc

func (Varcheck) Desc() string

func (Varcheck) Name

func (Varcheck) Name() string

func (Varcheck) Run

func (v Varcheck) Run(ctx context.Context, lintCtx *linter.Context) ([]result.Issue, error)

Jump to

Keyboard shortcuts

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