From fb4f3e70dc2badccdc6cac23dd5b3728ba723cbe Mon Sep 17 00:00:00 2001 From: Steven Date: Tue, 6 Jan 2026 20:41:24 +0800 Subject: [PATCH] fix: resolve golangci-lint issues --- .golangci.yaml | 2 ++ server/router/api/v1/test/attachment_service_test.go | 1 + 2 files changed, 3 insertions(+) diff --git a/.golangci.yaml b/.golangci.yaml index b97938f08..03a43d5e9 100644 --- a/.golangci.yaml +++ b/.golangci.yaml @@ -75,6 +75,8 @@ linters: disabled: true - name: package-comments disabled: true + - name: use-waitgroup-go + disabled: true gocritic: disabled-checks: - ifElseChain diff --git a/server/router/api/v1/test/attachment_service_test.go b/server/router/api/v1/test/attachment_service_test.go index 067df14b4..2ef523bf1 100644 --- a/server/router/api/v1/test/attachment_service_test.go +++ b/server/router/api/v1/test/attachment_service_test.go @@ -5,6 +5,7 @@ import ( "testing" "github.com/stretchr/testify/require" + v1pb "github.com/usememos/memos/proto/gen/api/v1" )