chore(lint): unify formatting on golangci-lint fmt (gofumpt), uncap issue reporting, fix gofumpt drift

- make format 现在与 code-check 使用同一格式化器(golangci-lint fmt),消除 goimports -local 与 gofumpt 的格式拉锯
- .golangci.yml 关闭默认 50/3 截断,完整上报所有问题(只增强不弱化)
- 全库 gofumpt 规范化(203 files, 纯格式无行为变更)
This commit is contained in:
ryan
2026-08-28 16:31:53 +08:00
parent 078ad9b2f3
commit 528240026d
204 changed files with 572 additions and 718 deletions
@@ -5,11 +5,10 @@
package driver_inproc_cron
import (
"context"
"sync"
"Wavelet/core"
"Wavelet/core/contracts"
"context"
"sync"
)
// Plugin implements core.Plugin and core.Driver for in-process cron job scheduling.
@@ -4,6 +4,8 @@
package driver_inproc_cron_test
import (
"Wavelet/core"
"Wavelet/plugins/drivers/driver_inproc_cron"
"context"
"sync/atomic"
"testing"
@@ -11,9 +13,6 @@ import (
"github.com/stretchr/testify/assert"
"github.com/stretchr/testify/require"
"Wavelet/core"
"Wavelet/plugins/drivers/driver_inproc_cron"
)
func TestInprocCronPlugin(t *testing.T) {
@@ -4,6 +4,10 @@
package driver_inproc_cron
import (
"Wavelet/core/contracts"
"Wavelet/core/extpoints"
"Wavelet/pkg/logger"
"Wavelet/pkg/util"
"context"
"encoding/json"
"errors"
@@ -12,11 +16,6 @@ import (
"time"
"github.com/robfig/cron/v3"
"Wavelet/core/contracts"
"Wavelet/core/extpoints"
"Wavelet/pkg/logger"
"Wavelet/pkg/util"
)
type inprocScheduler struct {