fix: resolve golangci-lint issues
This commit is contained in:
parent
e1941e7843
commit
fb4f3e70dc
2 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
|
|
@ -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"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue