param-count

command
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Nov 13, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 10 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command param-count lists functions that take more parameters than the limit, one per line as "dir::Name count", where Name is "(*T).Method" for methods.

A function with many inputs hides its call sites: `Register(group, nil, tx, nil, nil, nil, nil)` cannot be read or checked by the compiler. Take a context and the required arguments, and pass the rest as one named options struct. The receiver is not counted; ctx is; a variadic parameter counts as one.

Jump to

Keyboard shortcuts

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