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 added in v1.2.1

type Deadcode struct{}

func (Deadcode) Desc added in v1.2.1

func (Deadcode) Desc() string

func (Deadcode) Name added in v1.2.1

func (Deadcode) Name() string

func (Deadcode) Run added in v1.2.1

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

type Depguard added in v1.4.1

type Depguard struct{}

func (Depguard) Desc added in v1.4.1

func (Depguard) Desc() string

func (Depguard) Name added in v1.4.1

func (Depguard) Name() string

func (Depguard) Run added in v1.4.1

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

type Dupl added in v1.2.1

type Dupl struct{}

func (Dupl) Desc added in v1.2.1

func (Dupl) Desc() string

func (Dupl) Name added in v1.2.1

func (Dupl) Name() string

func (Dupl) Run added in v1.2.1

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

type Errcheck added in v1.2.1

type Errcheck struct{}

func (Errcheck) Desc added in v1.2.1

func (Errcheck) Desc() string

func (Errcheck) Name added in v1.2.1

func (Errcheck) Name() string

func (Errcheck) Run added in v1.2.1

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

type Gas added in v1.2.1

type Gas struct{}

func (Gas) Desc added in v1.2.1

func (Gas) Desc() string

func (Gas) Name added in v1.2.1

func (Gas) Name() string

func (Gas) Run added in v1.2.1

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

type Goconst added in v1.2.1

type Goconst struct{}

func (Goconst) Desc added in v1.2.1

func (Goconst) Desc() string

func (Goconst) Name added in v1.2.1

func (Goconst) Name() string

func (Goconst) Run added in v1.2.1

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

type Gocyclo added in v1.2.1

type Gocyclo struct{}

func (Gocyclo) Desc added in v1.2.1

func (Gocyclo) Desc() string

func (Gocyclo) Name added in v1.2.1

func (Gocyclo) Name() string

func (Gocyclo) Run added in v1.2.1

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

type Gofmt added in v1.2.1

type Gofmt struct {
	UseGoimports bool
}

func (Gofmt) Desc added in v1.2.1

func (g Gofmt) Desc() string

func (Gofmt) Name added in v1.2.1

func (g Gofmt) Name() string

func (Gofmt) Run added in v1.2.1

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

type Golint added in v1.2.1

type Golint struct{}

func (Golint) Desc added in v1.2.1

func (Golint) Desc() string

func (Golint) Name added in v1.2.1

func (Golint) Name() string

func (Golint) Run added in v1.2.1

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

type Govet added in v1.2.1

type Govet struct{}

func (Govet) Desc added in v1.2.1

func (Govet) Desc() string

func (Govet) Name added in v1.2.1

func (Govet) Name() string

func (Govet) Run added in v1.2.1

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

type Ineffassign added in v1.2.1

type Ineffassign struct{}

func (Ineffassign) Desc added in v1.2.1

func (Ineffassign) Desc() string

func (Ineffassign) Name added in v1.2.1

func (Ineffassign) Name() string

func (Ineffassign) Run added in v1.2.1

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

type Interfacer added in v1.2.1

type Interfacer struct{}

func (Interfacer) Desc added in v1.2.1

func (Interfacer) Desc() string

func (Interfacer) Name added in v1.2.1

func (Interfacer) Name() string

func (Interfacer) Run added in v1.2.1

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

type Lll added in v1.8.1

type Lll struct{}

func (Lll) Desc added in v1.8.1

func (Lll) Desc() string

func (Lll) Name added in v1.8.1

func (Lll) Name() string

func (Lll) Run added in v1.8.1

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

type Maligned added in v1.2.1

type Maligned struct{}

func (Maligned) Desc added in v1.2.1

func (Maligned) Desc() string

func (Maligned) Name added in v1.2.1

func (Maligned) Name() string

func (Maligned) Run added in v1.2.1

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

type Megacheck added in v1.2.1

type Megacheck struct {
	UnusedEnabled      bool
	GosimpleEnabled    bool
	StaticcheckEnabled bool
}

func (Megacheck) Desc added in v1.2.1

func (m Megacheck) Desc() string

func (Megacheck) Name added in v1.2.1

func (m Megacheck) Name() string

func (Megacheck) Run added in v1.2.1

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

type Misspell added in v1.8.1

type Misspell struct{}

func (Misspell) Desc added in v1.8.1

func (Misspell) Desc() string

func (Misspell) Name added in v1.8.1

func (Misspell) Name() string

func (Misspell) Run added in v1.8.1

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

type Nakedret added in v1.9.1

type Nakedret struct{}

func (Nakedret) Desc added in v1.9.1

func (Nakedret) Desc() string

func (Nakedret) Name added in v1.9.1

func (Nakedret) Name() string

func (Nakedret) Run added in v1.9.1

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

type Prealloc added in v1.9.1

type Prealloc struct{}

func (Prealloc) Desc added in v1.9.1

func (Prealloc) Desc() string

func (Prealloc) Name added in v1.9.1

func (Prealloc) Name() string

func (Prealloc) Run added in v1.9.1

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

type Structcheck added in v1.2.1

type Structcheck struct{}

func (Structcheck) Desc added in v1.2.1

func (Structcheck) Desc() string

func (Structcheck) Name added in v1.2.1

func (Structcheck) Name() string

func (Structcheck) Run added in v1.2.1

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

type TypeCheck added in v1.3.1

type TypeCheck struct{}

func (TypeCheck) Desc added in v1.3.1

func (TypeCheck) Desc() string

func (TypeCheck) Name added in v1.3.1

func (TypeCheck) Name() string

func (TypeCheck) Run added in v1.3.1

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

type Unconvert added in v1.2.1

type Unconvert struct{}

func (Unconvert) Desc added in v1.2.1

func (Unconvert) Desc() string

func (Unconvert) Name added in v1.2.1

func (Unconvert) Name() string

func (Unconvert) Run added in v1.2.1

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

type Unparam added in v1.9.1

type Unparam struct{}

func (Unparam) Desc added in v1.9.1

func (Unparam) Desc() string

func (Unparam) Name added in v1.9.1

func (Unparam) Name() string

func (Unparam) Run added in v1.9.1

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

type Varcheck added in v1.2.1

type Varcheck struct{}

func (Varcheck) Desc added in v1.2.1

func (Varcheck) Desc() string

func (Varcheck) Name added in v1.2.1

func (Varcheck) Name() string

func (Varcheck) Run added in v1.2.1

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