fix: resolve golangci-lint issues

This commit is contained in:
Steven 2026-01-06 20:41:24 +08:00
parent e1941e7843
commit fb4f3e70dc
2 changed files with 3 additions and 0 deletions

View File

@ -75,6 +75,8 @@ linters:
disabled: true
- name: package-comments
disabled: true
- name: use-waitgroup-go
disabled: true
gocritic:
disabled-checks:
- ifElseChain

View File

@ -5,6 +5,7 @@ import (
"testing"
"github.com/stretchr/testify/require"
v1pb "github.com/usememos/memos/proto/gen/api/v1"
)