errcheck

package
v0.0.0-...-f90256a Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package errcheck provides lint integration for the errcheck linter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	// Blank enables checking for assignments to the blank identifier
	Blank bool
	// Asserts enables checking for ignored type assertion results
	Assert bool
	// Tags is a list of space separated build tags
	Tags string
}

Check runs the errcheck linter (https://github.com/kisielk/errcheck)

func (Check) Args

func (c Check) Args() []string

Args returns command line arguments used for errcheck

func (Check) Check

func (c Check) Check(pkgs ...string) error

Check runs errcheck and returns any errors found.

Jump to

Keyboard shortcuts

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