Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

fix: resolve golangci-lint issues

Stevenfb4f3e70dc2b
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"
)