zerolint

command module
v0.0.7 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: Apache-2.0 Imports: 6 Imported by: 0

README

Fillmore Labs zerolint

Go Reference Test Coverage Maintainability Go Report Card License

The zerolint linter checks usage patterns of pointers to zero-size variables in Go.

Usage

go install fillmore-labs.com/zerolint@latest

Usage: zerolint [-flag] [package]

Flags:

  • -c int display offending line with this many lines of context (default -1)
  • -basic basic analysis only
  • -excluded <filename> read excluded types from this file
  • -zerotrace trace found zero-sized types
  • -fix apply all suggested fixes

Documentation

Overview

This is the main program for the zerolint linter.

Directories

Path Synopsis
pkg

Jump to

Keyboard shortcuts

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