From 3c0c887bc62a006c31234303a2a031aae3b9c29b Mon Sep 17 00:00:00 2001 From: Garrett Squire Date: Mon, 27 Nov 2023 12:43:10 -0800 Subject: [PATCH] add note about other tool --- README.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/README.md b/README.md index 7b93701..7d37317 100644 --- a/README.md +++ b/README.md @@ -4,6 +4,9 @@ A simple linter to find `defer` statements inside of for loops in Go source. +## Other Works +See #12 for an existing tool (`staticcheck`). + ## Why? It's often erroneous to use `defer` inside of a loop as it can lead to memory leaks or other unintended behavior. It can also be easy to miss this in a code review as using `defer` to