Memory:实现添加 #41
Annotations
6 errors and 1 warning
lint:
memory/consumergroup.go#L51
field `once` is unused (unused)
|
lint:
memory/consumergroup.go#L234
S1038: should use log.Printf(...) instead of log.Println(fmt.Sprintf(...)) (gosimple)
|
lint:
memory/consumergroup.go#L167
S1000: should use a simple channel send/receive instead of `select` with a single case (gosimple)
|
lint:
memory/consumergroup.go#L245
S1000: should use for range instead of for { select {} } (gosimple)
|
lint:
memory/mq.go#L100
copylocks: assignment copies lock value to group.partitionRecords: github.com/ecodeclub/ekit/syncx.Map[int, github.com/ecodeclub/mq-api/memory.PartitionRecord] contains sync.Map contains sync.Mutex (govet)
|
lint
issues found
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|