Directories ¶
Path | Synopsis |
---|---|
src
|
|
github.com/BurntSushi/toml
Package toml provides facilities for decoding and encoding TOML configuration files via reflection.
|
Package toml provides facilities for decoding and encoding TOML configuration files via reflection. |
github.com/BurntSushi/toml/cmd/toml-test-decoder
Command toml-test-decoder satisfies the toml-test interface for testing TOML decoders.
|
Command toml-test-decoder satisfies the toml-test interface for testing TOML decoders. |
github.com/BurntSushi/toml/cmd/toml-test-encoder
Command toml-test-encoder satisfies the toml-test interface for testing TOML encoders.
|
Command toml-test-encoder satisfies the toml-test interface for testing TOML encoders. |
github.com/BurntSushi/toml/cmd/tomlv
Command tomlv validates TOML documents and prints each key's type.
|
Command tomlv validates TOML documents and prints each key's type. |
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. |
github.com/golang/lint
Package lint contains a linter for Go source code.
|
Package lint contains a linter for Go source code. |
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. |
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. |
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. |
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. |
github.com/kisielk/gotool/internal/load
Package load loads packages.
|
Package load loads packages. |
github.com/mdempsky/unconvert
Unconvert removes redundant type conversions from Go packages.
|
Unconvert removes redundant type conversions from Go packages. |
github.com/securego/gosec
Package gosec holds the central scanning logic used by gosec security scanner
|
Package gosec holds the central scanning logic used by gosec security scanner |
github.com/stretchr/objx
Objx - Go package for dealing with maps, slices, JSON and other data.
|
Objx - Go package for dealing with maps, slices, JSON and other data. |
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. |
github.com/walle/lll
Package lll provides validation functions regarding line length
|
Package lll provides validation functions regarding line length |
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. |
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. |
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/. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
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. |
golang.org/x/tools/go/expect
Package expect provides support for interpreting structured comments in Go source code as test expectations.
|
Package expect provides support for interpreting structured comments in Go source code as test expectations. |
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. |
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. |
golang.org/x/tools/go/internal/packagesdriver
Package packagesdriver fetches type sizes for go/packages and go/analysis.
|
Package packagesdriver fetches type sizes for go/packages and go/analysis. |
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. |
golang.org/x/tools/go/packages
Package packages loads Go packages for inspection and analysis.
|
Package packages loads Go packages for inspection and analysis. |
golang.org/x/tools/go/packages/gopackages
The gopackages command is a diagnostic tool that demonstrates how to use golang.org/x/tools/go/packages to load, parse, type-check, and print one or more Go packages.
|
The gopackages command is a diagnostic tool that demonstrates how to use golang.org/x/tools/go/packages to load, parse, type-check, and print one or more Go packages. |
golang.org/x/tools/go/packages/packagestest
Package packagestest creates temporary projects on disk for testing go tools on.
|
Package packagestest creates temporary projects on disk for testing go tools on. |
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). |
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. |
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. |
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. |
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. |
golang.org/x/tools/internal/fastwalk
Package fastwalk provides a faster version of filepath.Walk for file system scanning tools.
|
Package fastwalk provides a faster version of filepath.Walk for file system scanning tools. |
golang.org/x/tools/internal/gopathwalk
Package gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT.
|
Package gopathwalk is like filepath.Walk but specialized for finding Go packages, particularly in $GOPATH and $GOROOT. |
golang.org/x/tools/internal/semver
Package semver implements comparison of semantic version strings.
|
Package semver implements comparison of semantic version strings. |
golang.org/x/tools/internal/tool
Package tool is an opinionated harness for writing Go tools.
|
Package tool is an opinionated harness for writing Go tools. |
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. |
gopkg.in/yaml.v2
Package yaml implements YAML support for the Go language.
|
Package yaml implements YAML support for the Go language. |
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. |
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. |
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. |
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. |
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. |
honnef.co/go/tools/cmd/keyify
keyify transforms unkeyed struct literals into a keyed ones.
|
keyify transforms unkeyed struct literals into a keyed ones. |
honnef.co/go/tools/cmd/megacheck
megacheck runs staticcheck, gosimple and unused.
|
megacheck runs staticcheck, gosimple and unused. |
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. |
honnef.co/go/tools/cmd/staticcheck
staticcheck analyses Go code and makes it better.
|
staticcheck analyses Go code and makes it better. |
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. |
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. |
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. |
honnef.co/go/tools/cmd/unused
unused reports unused identifiers (types, functions, ...) in your code.
|
unused reports unused identifiers (types, functions, ...) in your code. |
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. |
honnef.co/go/tools/lint
Package lint provides the foundation for tools like staticcheck
|
Package lint provides the foundation for tools like staticcheck |
honnef.co/go/tools/lint/lintdsl
Package lintdsl provides helpers for implementing static analysis checks.
|
Package lintdsl provides helpers for implementing static analysis checks. |
honnef.co/go/tools/lint/lintutil
Package lintutil provides helpers for writing linter command lines.
|
Package lintutil provides helpers for writing linter command lines. |
honnef.co/go/tools/lint/lintutil/format
Package format provides formatters for linter problems.
|
Package format provides formatters for linter problems. |
honnef.co/go/tools/lint/testutil
Package testutil provides helpers for testing staticcheck.
|
Package testutil provides helpers for testing staticcheck. |
honnef.co/go/tools/printf
Package printf implements a parser for fmt.Printf-style format strings.
|
Package printf implements a parser for fmt.Printf-style format strings. |
honnef.co/go/tools/simple
Package simple contains a linter for Go source code.
|
Package simple contains a linter for Go source code. |
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. |
honnef.co/go/tools/staticcheck
Package staticcheck contains a linter for Go source code.
|
Package staticcheck contains a linter for Go source code. |
mvdan.cc/lint
Package lint defines common interfaces for Go code checkers.
|
Package lint defines common interfaces for Go code checkers. |
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.