varcheck

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 varcheck provides lint integration for the varcheck linter

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Check

type Check struct {
	// ReportExported reports exported variables that are unused
	ReportExported bool
}

Check runs the varcheck linter (https://github.com/opennota/check)

func (Check) Args

func (c Check) Args() []string

Args returns all args passed to varcheck

func (Check) Check

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

Check runs varcheck and returns any errors found.

Jump to

Keyboard shortcuts

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