DiagnosticsError codes
M0101 lint finding
A staticcheck style analyzer found a bug pattern, a deprecated API, or code that can be simpler.
The note names the analyzer (SA, S, ST and QF numbers follow staticcheck).
The fix
Follow the finding, or silence it for one line with a //lint:ignore comment that says why.
See also all error codes and marmot explain.
M0100 vet finding
go vet's analyzers found code that compiles but is likely wrong: a Printf format that does not match its arguments, a copied lock, an unreachable statement, a struct tag that does not parse.
M0102 modernize suggestion
The code can use a newer language or library feature that the module's go version allows (min and max, range over int, slices and maps functions, strings.Cut, ...).