Documentation ¶
There is no documentation for this package.
Source Files ¶
Directories ¶
Path | Synopsis |
---|---|
_linters
|
|
src/github.com/GoASTScanner/gas/core
Package core holds the central scanning logic used by GAS (c) Copyright 2016 Hewlett Packard Enterprise Development LP Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
|
Package core holds the central scanning logic used by GAS (c) Copyright 2016 Hewlett Packard Enterprise Development LP Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. |
src/github.com/alecthomas/gocyclo
Gocyclo calculates the cyclomatic complexities of functions and methods in Go source code.
|
Gocyclo calculates the cyclomatic complexities of functions and methods in Go source code. |
src/github.com/dnephin/govet
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string.
|
Vet examines Go source code and reports suspicious constructs, such as Printf calls whose arguments do not align with the format string. |
src/github.com/dnephin/govet/internal/cfg
This package constructs a simple control-flow graph (CFG) of the statements and expressions within a single function.
|
This package constructs a simple control-flow graph (CFG) of the statements and expressions within a single function. |
src/github.com/dnephin/govet/internal/whitelist
Package whitelist defines exceptions for the vet tool.
|
Package whitelist defines exceptions for the vet tool. |
src/github.com/golang/lint
Package lint contains a linter for Go source code.
|
Package lint contains a linter for Go source code. |
src/github.com/golang/lint/golint
golint lints the Go source files named on its command line.
|
golint lints the Go source files named on its command line. |
src/github.com/jgautheron/goconst
Package goconst finds repeated strings that could be replaced by a constant.
|
Package goconst finds repeated strings that could be replaced by a constant. |
src/github.com/kisielk/errcheck/internal/errcheck
Package errcheck is the library used to implement the errcheck command-line tool.
|
Package errcheck is the library used to implement the errcheck command-line tool. |
src/github.com/kisielk/gotool
Package gotool contains utility functions used to implement the standard "cmd/go" tool, provided as a convenience to developers who want to write tools with similar semantics.
|
Package gotool contains utility functions used to implement the standard "cmd/go" tool, provided as a convenience to developers who want to write tools with similar semantics. |
src/github.com/kisielk/gotool/internal/load
Package load loads packages.
|
Package load loads packages. |
src/github.com/mdempsky/unconvert
Unconvert removes redundant type conversions from Go packages.
|
Unconvert removes redundant type conversions from Go packages. |
src/github.com/stripe/safesql
Command safesql is a tool for performing static analysis on programs to ensure that SQL injection attacks are not possible.
|
Command safesql is a tool for performing static analysis on programs to ensure that SQL injection attacks are not possible. |
src/github.com/walle/lll
Package lll provides validation functions regarding line length
|
Package lll provides validation functions regarding line length |
src/golang.org/x/text/internal/gen
Package gen contains common code for the various code generation tools in the text repository.
|
Package gen contains common code for the various code generation tools in the text repository. |
src/golang.org/x/text/internal/triegen
Package triegen implements a code generator for a trie for associating unsigned integer values with UTF-8 encoded runes.
|
Package triegen implements a code generator for a trie for associating unsigned integer values with UTF-8 encoded runes. |
src/golang.org/x/text/internal/ucd
Package ucd provides a parser for Unicode Character Database files, the format of which is defined in http://www.unicode.org/reports/tr44/.
|
Package ucd provides a parser for Unicode Character Database files, the format of which is defined in http://www.unicode.org/reports/tr44/. |
src/golang.org/x/text/transform
Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations.
|
Package transform provides reader and writer wrappers that transform the bytes passing through as well as various transformations. |
src/golang.org/x/text/unicode/cldr
Package cldr provides a parser for LDML and related XML formats.
|
Package cldr provides a parser for LDML and related XML formats. |
src/golang.org/x/text/width
Package width provides functionality for handling different widths in text.
|
Package width provides functionality for handling different widths in text. |
src/golang.org/x/tools/cmd/goimports
Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones.
|
Command goimports updates your Go import lines, adding missing ones and removing unreferenced ones. |
src/golang.org/x/tools/cmd/gotype
The gotype command, like the front-end of a Go compiler, parses and type-checks a single Go package.
|
The gotype command, like the front-end of a Go compiler, parses and type-checks a single Go package. |
src/golang.org/x/tools/container/intsets
Package intsets provides Sparse, a compact and fast representation for sparse sets of int values.
|
Package intsets provides Sparse, a compact and fast representation for sparse sets of int values. |
src/golang.org/x/tools/go/ast/astutil
Package astutil contains common utilities for working with the Go AST.
|
Package astutil contains common utilities for working with the Go AST. |
src/golang.org/x/tools/go/buildutil
Package buildutil provides utilities related to the go/build package in the standard library.
|
Package buildutil provides utilities related to the go/build package in the standard library. |
src/golang.org/x/tools/go/callgraph
Package callgraph defines the call graph and various algorithms and utilities to operate on it.
|
Package callgraph defines the call graph and various algorithms and utilities to operate on it. |
src/golang.org/x/tools/go/callgraph/cha
Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm.
|
Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm. |
src/golang.org/x/tools/go/callgraph/rta
This package provides Rapid Type Analysis (RTA) for Go, a fast algorithm for call graph construction and discovery of reachable code (and hence dead code) and runtime types.
|
This package provides Rapid Type Analysis (RTA) for Go, a fast algorithm for call graph construction and discovery of reachable code (and hence dead code) and runtime types. |
src/golang.org/x/tools/go/callgraph/static
Package static computes the call graph of a Go program containing only static call edges.
|
Package static computes the call graph of a Go program containing only static call edges. |
src/golang.org/x/tools/go/gcexportdata
Package gcexportdata provides functions for locating, reading, and writing export data files containing type information produced by the gc compiler.
|
Package gcexportdata provides functions for locating, reading, and writing export data files containing type information produced by the gc compiler. |
src/golang.org/x/tools/go/gcimporter15
Package gcimporter15 provides various functions for reading gc-generated object files that can be used to implement the Importer interface defined by the Go 1.5 standard library package.
|
Package gcimporter15 provides various functions for reading gc-generated object files that can be used to implement the Importer interface defined by the Go 1.5 standard library package. |
src/golang.org/x/tools/go/loader
Package loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies.
|
Package loader loads a complete Go program from source code, parsing and type-checking the initial packages plus their transitive closure of dependencies. |
src/golang.org/x/tools/go/pointer
Package pointer implements Andersen's analysis, an inclusion-based pointer analysis algorithm first described in (Andersen, 1994).
|
Package pointer implements Andersen's analysis, an inclusion-based pointer analysis algorithm first described in (Andersen, 1994). |
src/golang.org/x/tools/go/ssa
Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions.
|
Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions. |
src/golang.org/x/tools/go/ssa/interp
Package ssa/interp defines an interpreter for the SSA representation of Go programs.
|
Package ssa/interp defines an interpreter for the SSA representation of Go programs. |
src/golang.org/x/tools/go/types/typeutil
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values.
|
Package typeutil defines various utilities for types, such as Map, a mapping from types.Type to interface{} values. |
src/golang.org/x/tools/imports
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary.
|
Package imports implements a Go pretty-printer (like package "go/format") that also adds or removes import statements as necessary. |
src/golang.org/x/tools/refactor/importgraph
Package importgraph computes the forward and reverse import dependency graphs for all packages in a Go workspace.
|
Package importgraph computes the forward and reverse import dependency graphs for all packages in a Go workspace. |
src/honnef.co/go/tools/callgraph
Package callgraph defines the call graph and various algorithms and utilities to operate on it.
|
Package callgraph defines the call graph and various algorithms and utilities to operate on it. |
src/honnef.co/go/tools/callgraph/cha
Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm.
|
Package cha computes the call graph of a Go program using the Class Hierarchy Analysis (CHA) algorithm. |
src/honnef.co/go/tools/callgraph/rta
This package provides Rapid Type Analysis (RTA) for Go, a fast algorithm for call graph construction and discovery of reachable code (and hence dead code) and runtime types.
|
This package provides Rapid Type Analysis (RTA) for Go, a fast algorithm for call graph construction and discovery of reachable code (and hence dead code) and runtime types. |
src/honnef.co/go/tools/callgraph/static
Package static computes the call graph of a Go program containing only static call edges.
|
Package static computes the call graph of a Go program containing only static call edges. |
src/honnef.co/go/tools/cmd/gosimple
gosimple detects code that could be rewritten in a simpler way.
|
gosimple detects code that could be rewritten in a simpler way. |
src/honnef.co/go/tools/cmd/keyify
keyify transforms unkeyed struct literals into a keyed ones.
|
keyify transforms unkeyed struct literals into a keyed ones. |
src/honnef.co/go/tools/cmd/megacheck
megacheck runs staticcheck, gosimple and unused.
|
megacheck runs staticcheck, gosimple and unused. |
src/honnef.co/go/tools/cmd/rdeps
rdeps scans GOPATH for all reverse dependencies of a set of Go packages.
|
rdeps scans GOPATH for all reverse dependencies of a set of Go packages. |
src/honnef.co/go/tools/cmd/staticcheck
staticcheck detects a myriad of bugs and inefficiencies in your code.
|
staticcheck detects a myriad of bugs and inefficiencies in your code. |
src/honnef.co/go/tools/cmd/structlayout
structlayout displays the layout (field sizes and padding) of structs.
|
structlayout displays the layout (field sizes and padding) of structs. |
src/honnef.co/go/tools/cmd/structlayout-optimize
structlayout-optimize reorders struct fields to minimize the amount of padding.
|
structlayout-optimize reorders struct fields to minimize the amount of padding. |
src/honnef.co/go/tools/cmd/structlayout-pretty
structlayout-pretty formats the output of structlayout with ASCII art.
|
structlayout-pretty formats the output of structlayout with ASCII art. |
src/honnef.co/go/tools/cmd/unused
unused reports unused identifiers (types, functions, ...) in your code.
|
unused reports unused identifiers (types, functions, ...) in your code. |
src/honnef.co/go/tools/gcsizes
Package gcsizes provides a types.Sizes implementation that adheres to the rules used by the gc compiler.
|
Package gcsizes provides a types.Sizes implementation that adheres to the rules used by the gc compiler. |
src/honnef.co/go/tools/lint
Package lint provides the foundation for tools like gosimple.
|
Package lint provides the foundation for tools like gosimple. |
src/honnef.co/go/tools/lint/lintutil
Package lintutil provides helpers for writing linter command lines.
|
Package lintutil provides helpers for writing linter command lines. |
src/honnef.co/go/tools/simple
Package simple contains a linter for Go source code.
|
Package simple contains a linter for Go source code. |
src/honnef.co/go/tools/ssa
Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions.
|
Package ssa defines a representation of the elements of Go programs (packages, types, functions, variables and constants) using a static single-assignment (SSA) form intermediate representation (IR) for the bodies of functions. |
src/honnef.co/go/tools/staticcheck
Package staticcheck contains a linter for Go source code.
|
Package staticcheck contains a linter for Go source code. |
src/mvdan.cc/lint
Package lint defines common interfaces for Go code checkers.
|
Package lint defines common interfaces for Go code checkers. |
src/mvdan.cc/unparam/check
Package check implements the unparam linter.
|
Package check implements the unparam linter. |
Click to show internal directories.
Click to hide internal directories.