|
|
|
|
|
by umanwizard
587 days ago
|
|
It could be prevented in an even simpler way: emitting warnings. Most people nowadays ban building with warnings in CI and allow them during local development. But “CI” was barely a thing when go was developed so they just banned them completely. And now they are probably too stubborn to change. |
|
https://go.dev/doc/faq#unused_variables_and_imports