unkeyed

command module
v0.0.0-...-7d3f1e9 Latest Latest
Warning

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

Go to latest
Published: Apr 26, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

README

unkeyed

A fork of https://pkg.go.dev/golang.org/x/tools/go/analysis/passes/composite. Reports unkeyed composite literals.

Usage

The linter is integrated into the golangci-lint configuration.

If you want to run the linter separately or fix reported issues, first compile the binary:

go build .

To automatically fix reported issues, invoke the tool with the -fix flag and pass the package specifier:

unkeyed -fix ./...

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

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