Fix lint errors in modified code (#1966)

* makelint /internal 0228

Signed-off-by: xuan <146319162+wxuanF@users.noreply.github.com>

* Update server.go

---------

Signed-off-by: xuan <146319162+wxuanF@users.noreply.github.com>
This commit is contained in:
xuan
2024-02-29 11:52:41 +08:00
committed by GitHub
parent 613bacb789
commit bcc6a95633
11 changed files with 51 additions and 50 deletions
+3 -2
View File
@@ -19,8 +19,9 @@ import (
)
type Consumer struct {
pushCh ConsumerHandler
successCount uint64
pushCh ConsumerHandler
// successCount is unused
// successCount uint64
}
func NewConsumer(pusher *Pusher) (*Consumer, error) {