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 disabled: true
- name: package-comments - name: package-comments
disabled: true disabled: true
- name: use-waitgroup-go
disabled: true
gocritic: gocritic:
disabled-checks: disabled-checks:
- ifElseChain - ifElseChain

View file

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