refactor: 模块路径迁移到 gitea.malai.tech
仓库已迁到 gitea.malai.tech,同步更新 go.mod module 声明与全部内部 import, 使其可作为正式 Go 模块被 go get 解析(此前声明路径 gitea.malaihome.work 已不可达)。 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
2
go.mod
2
go.mod
@@ -1,4 +1,4 @@
|
|||||||
module gitea.malaihome.work/ans/podcast-search-go
|
module gitea.malai.tech/ans/podcast-search-go
|
||||||
|
|
||||||
go 1.23
|
go 1.23
|
||||||
|
|
||||||
|
|||||||
4
main.go
4
main.go
@@ -4,8 +4,8 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gitea.malaihome.work/ans/podcast-search-go/model"
|
"gitea.malai.tech/ans/podcast-search-go/model"
|
||||||
"gitea.malaihome.work/ans/podcast-search-go/search"
|
"gitea.malai.tech/ans/podcast-search-go/search"
|
||||||
)
|
)
|
||||||
|
|
||||||
func main() {
|
func main() {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gitea.malaihome.work/ans/podcast-search-go/model"
|
"gitea.malai.tech/ans/podcast-search-go/model"
|
||||||
"github.com/sirupsen/logrus"
|
"github.com/sirupsen/logrus"
|
||||||
"go.uber.org/ratelimit"
|
"go.uber.org/ratelimit"
|
||||||
)
|
)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ import (
|
|||||||
"fmt"
|
"fmt"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gitea.malaihome.work/ans/podcast-search-go/model"
|
"gitea.malai.tech/ans/podcast-search-go/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
// JsonParser 用于解析JSON格式的转录文件
|
// JsonParser 用于解析JSON格式的转录文件
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ import (
|
|||||||
"strings"
|
"strings"
|
||||||
"time"
|
"time"
|
||||||
|
|
||||||
"gitea.malaihome.work/ans/podcast-search-go/model"
|
"gitea.malai.tech/ans/podcast-search-go/model"
|
||||||
)
|
)
|
||||||
|
|
||||||
// SrtParser 用于解析SRT格式的转录文件
|
// SrtParser 用于解析SRT格式的转录文件
|
||||||
|
|||||||
Reference in New Issue
Block a user