From b7e040a44bb3339aa00853a331bd1430224fa446 Mon Sep 17 00:00:00 2001 From: Oleksandr Redko Date: Tue, 21 Nov 2023 17:04:52 +0200 Subject: [PATCH] change analyzer name and doc (#8) --- zerologlint.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zerologlint.go b/zerologlint.go index bec50e5..a799ce8 100644 --- a/zerologlint.go +++ b/zerologlint.go @@ -13,8 +13,8 @@ import ( ) var Analyzer = &analysis.Analyzer{ - Name: "zerologlinter", - Doc: "finds cases where zerolog methods are not followed by Msg or Send", + Name: "zerologlint", + Doc: "Detects the wrong usage of `zerolog` that a user forgets to dispatch with `Send` or `Msg`", Run: run, Requires: []*analysis.Analyzer{ buildssa.Analyzer,