Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
As PuzzleheadedHuman pointed out, there are readily available linters available to check this: https://github.com/mdempsky/maligned Which is integrated into golangci-lint. If you are seriously programming Go, you should be using that anyhow. Though I think that's not on by default, I also recommend anyone using golangci-lint read through everything it ships with. Many interesting ones are not turned on by default because they are very, very opinionated (such as this one), and a few of the defaults I turn off personally.
NOTE:
The number of mentions on this list indicates mentions on common posts plus user suggested alternatives.
Hence, a higher number means a more popular project.