|
|
|
|
|
by bayindirh
2 days ago
|
|
You don't need a linter. Practically Go code will not compile without declaring and using the "err" returning from a function call. I have written a fresh example at https://files.bayindirh.io/misc/error_example.go. Give it a Go. ;) OTOH, gopls is a great LSP, though, and it warns you about this immediately. |
|