From 1feb9f1e752ff1f545403323d17b6ed5736b76f5 Mon Sep 17 00:00:00 2001 From: mapleafgo Date: Wed, 8 Apr 2026 19:46:07 +0800 Subject: [PATCH] =?UTF-8?q?chore:=20=E5=B0=86=20gomplerate=20=E4=BB=8E?= =?UTF-8?q?=E9=97=B4=E6=8E=A5=E4=BE=9D=E8=B5=96=E6=94=B9=E4=B8=BA=E7=9B=B4?= =?UTF-8?q?=E6=8E=A5=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 由于 pkg/audio/resampler.go 直接导入并使用 gomplerate, go mod tidy 自动将其从 indirect 改为 direct 依赖。 --- go.mod | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/go.mod b/go.mod index 732915a..255d9d7 100644 --- a/go.mod +++ b/go.mod @@ -17,6 +17,7 @@ require ( github.com/urfave/cli/v3 v3.8.0 github.com/warthog618/go-gpiocdev v0.9.1 github.com/youpy/go-wav v0.3.2 + github.com/zeozeozeo/gomplerate v0.0.0-20250404113140-0fbb236df825 go.uber.org/zap v1.27.0 gopkg.in/natefinch/lumberjack.v2 v2.2.1 ) @@ -53,7 +54,6 @@ require ( github.com/ysmood/gson v0.7.3 // indirect github.com/ysmood/leakless v0.9.0 // indirect github.com/zaf/g711 v1.4.0 // indirect - github.com/zeozeozeo/gomplerate v0.0.0-20250404113140-0fbb236df825 // indirect go.uber.org/atomic v1.11.0 // indirect go.uber.org/multierr v1.11.0 // indirect go.yaml.in/yaml/v3 v3.0.4 // indirect