lintutil

package
Version: v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2017 License: MIT, BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Overview

Package lintutil provides helpers for writing linter command lines.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FlagSet

func FlagSet(name string) *flag.FlagSet

func Lint

func Lint(c lint.Checker, pkgs []string, opt *Options) ([]lint.Problem, *loader.Program, error)

func ProcessArgs

func ProcessArgs(name string, c lint.Checker, args []string)

func ProcessFlagSet

func ProcessFlagSet(c lint.Checker, fs *flag.FlagSet)

Types

type Options

type Options struct {
	Tags      []string
	LintTests bool
	Ignores   string
	GoVersion int
}

Source Files

Jump to

Keyboard shortcuts

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