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.
github.com/ethereum/go-ethereum/internal/testlog: a Go-ethereum util for logging in tests.
Since we use the same logging, but as an external package, we have to move the test utility to our own internal package.
This fork also made minor modifications:
Enable color by default.
Add estimateInfoLen and use this for message padding in flush() to align the contents of the log entries,
compensating for the different lengths of the log decoration that the Go library adds.
type Testing interface {
Logf(format string, args ...any)
Helper()
}
Testing interface to log to. Some functions are marked as Helper function to log the call site accurately.
Standard Go testing.TB implements this, as well as Hive and other Go-like test frameworks.