diff options
author | Teddy Wing | 2023-05-21 14:26:03 +0200 |
---|---|---|
committer | Teddy Wing | 2023-05-21 14:26:03 +0200 |
commit | cd02ebfb98de7c6cb7a48c1a802233c727c8e8a0 (patch) | |
tree | 702e3c931669ecb3ad985dfd7da440a111ed0744 /go.mod | |
parent | 2fba3d707aee35914734808c3db2ac3b0cb74c95 (diff) | |
download | godefererr-cd02ebfb98de7c6cb7a48c1a802233c727c8e8a0.tar.bz2 |
Try to store the end position of the first defer closure with error
The idea is to store the end position of the first defer closure that
assigns an error variable from the outer scope. Then, we can check the
`return` statements in the rest of the function after that position to
ensure they use the error variable.
Diffstat (limited to 'go.mod')
0 files changed, 0 insertions, 0 deletions