From 3fdb14662357e3c145c880b5cd991d9c98bc54c4 Mon Sep 17 00:00:00 2001 From: Fripine Date: Thu, 10 Oct 2024 16:42:24 +0800 Subject: [PATCH] chore --- .github/ISSUE_TEMPLATE/bug-report.yaml | 4 +- .github/workflows/build_docker_image.yml | 14 +++--- .github/workflows/ci.yml | 5 +- .golangci.yml | 2 +- .goreleaser.yml | 4 +- cmd/api-generator/main.go | 6 +-- cmd/gocq/login.go | 8 ++-- cmd/gocq/main.go | 28 +++++------ cmd/gocq/qsign.go | 10 ++-- coolq/api.go | 26 +++++------ coolq/api_v12.go | 4 +- coolq/bot.go | 20 ++++---- coolq/converter.go | 8 ++-- coolq/cqcode.go | 24 +++++----- coolq/event.go | 16 +++---- coolq/feed.go | 4 +- db/database.go | 2 +- db/leveldb/leveldb.go | 6 +-- db/leveldb/reader.go | 2 +- db/leveldb/structs.go | 2 +- db/leveldb/writer.go | 2 +- db/mongodb/mongodb.go | 2 +- db/multidb.go | 2 +- db/sqlite3/sqlite3.go | 6 +-- docs/cqhttp.md | 2 +- docs/quick_start.md | 10 ++-- global/buffer.go | 2 +- global/codec.go | 2 +- global/fs.go | 4 +- global/net.go | 2 +- global/terminal/title.go | 2 +- global/terminal/title_windows.go | 2 +- go.mod | 26 ++++++----- go.sum | 59 ++++++++++++------------ internal/base/flag.go | 2 +- internal/download/download.go | 2 +- internal/mime/mime.go | 2 +- internal/msg/element.go | 2 +- internal/msg/local.go | 2 +- internal/msg/parse_test.go | 2 +- internal/selfdiagnosis/diagnoses.go | 2 +- internal/selfupdate/update.go | 8 ++-- main.go | 14 +++--- modules/api/api.go | 6 +-- modules/api/caller.go | 6 +-- modules/pprof/pprof.go | 6 +-- modules/servers/servers.go | 4 +- modules/silk/codec.go | 2 +- modules/silk/stubs.go | 2 +- server/daemon.go | 2 +- server/doc.go | 2 +- server/http.go | 14 +++--- server/middlewares.go | 8 ++-- server/scf.go | 10 ++-- server/websocket.go | 14 +++--- winres/gen/json.go | 4 +- winres/init.go | 2 +- 57 files changed, 219 insertions(+), 217 deletions(-) diff --git a/.github/ISSUE_TEMPLATE/bug-report.yaml b/.github/ISSUE_TEMPLATE/bug-report.yaml index 7d9a30bc8..326e3a424 100644 --- a/.github/ISSUE_TEMPLATE/bug-report.yaml +++ b/.github/ISSUE_TEMPLATE/bug-report.yaml @@ -26,9 +26,9 @@ body: options: - label: "我已经仔细阅读上述教程和 [\"提问前需知\"](https://forums.go-cqhttp.org/t/topic/141)" required: true - - label: "我已经使用 [dev分支版本](https://github.com/Mrs4s/go-cqhttp/actions/workflows/ci.yml) 测试过,问题依旧存在。" + - label: "我已经使用 [dev分支版本](https://github.com/sealdice/go-cqhttp/actions/workflows/ci.yml) 测试过,问题依旧存在。" required: true - - label: "我已经在 [Issue Tracker](https://github.com/Mrs4s/go-cqhttp/issues) 中找过我要提出的问题,没有找到相同问题的ISSUE。" + - label: "我已经在 [Issue Tracker](https://github.com/sealdice/go-cqhttp/issues) 中找过我要提出的问题,没有找到相同问题的ISSUE。" required: true - label: 我已知晓并同意,此处仅用于汇报程序中存在的问题。若这个 Issue 是关于其他非程序本身问题,则我的 Issue 可能会被无条件自动关闭或/并锁定。(这些问题应当在 Discussion 板块提出。) required: true diff --git a/.github/workflows/build_docker_image.yml b/.github/workflows/build_docker_image.yml index 44ae4a215..45e9723b7 100644 --- a/.github/workflows/build_docker_image.yml +++ b/.github/workflows/build_docker_image.yml @@ -1,13 +1,13 @@ name: Build And Push Docker Image on: - push: - branches: - - 'master' - - 'dev' - # Sequence of patterns matched against refs/tags - tags: - - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 + # push: + # branches: + # - 'master' + # - 'dev' + # # Sequence of patterns matched against refs/tags + # tags: + # - 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10 workflow_dispatch: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 562a1d543..7664e7e56 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -1,6 +1,7 @@ name: CI -on: [push, pull_request,workflow_dispatch] +on: + workflow_dispatch: env: BINARY_PREFIX: "go-cqhttp_" @@ -40,7 +41,7 @@ jobs: if $IS_PR ; then echo $PR_PROMPT; fi export BINARY_NAME="$BINARY_PREFIX"$GOOS"_$GOARCH$BINARY_SUFFIX" export CGO_ENABLED=0 - export LD_FLAGS="-w -s -X github.com/Mrs4s/go-cqhttp/internal/base.Version=${COMMIT_ID::7}" + export LD_FLAGS="-w -s -X github.com/sealdice/go-cqhttp/internal/base.Version=${COMMIT_ID::7}" go build -o "output/$BINARY_NAME" -trimpath -ldflags "$LD_FLAGS" . - name: Upload artifact uses: actions/upload-artifact@v3 diff --git a/.golangci.yml b/.golangci.yml index d4374df26..7bc6d51b7 100644 --- a/.golangci.yml +++ b/.golangci.yml @@ -4,7 +4,7 @@ linters-settings: ignoretests: true goimports: - local-prefixes: github.com/Mrs4s/go-cqhttp + local-prefixes: github.com/sealdice/go-cqhttp gocritic: disabled-checks: diff --git a/.goreleaser.yml b/.goreleaser.yml index b6c335d18..c0c7ea8c8 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -33,7 +33,7 @@ builds: flags: - -trimpath ldflags: - - -s -w -X github.com/Mrs4s/go-cqhttp/internal/base.Version=v{{.Version}} + - -s -w -X github.com/sealdice/go-cqhttp/internal/base.Version=v{{.Version}} - id: win env: - CGO_ENABLED=0 @@ -51,7 +51,7 @@ builds: flags: - -trimpath ldflags: - - -s -w -X github.com/Mrs4s/go-cqhttp/internal/base.Version=v{{.Version}} + - -s -w -X github.com/sealdice/go-cqhttp/internal/base.Version=v{{.Version}} checksum: name_template: "{{ .ProjectName }}_checksums.txt" diff --git a/cmd/api-generator/main.go b/cmd/api-generator/main.go index f97d7dd49..6b84f15fa 100644 --- a/cmd/api-generator/main.go +++ b/cmd/api-generator/main.go @@ -60,9 +60,9 @@ func (g *generator) header() { func (g *generator) genRouter(routers []Router) { g.WriteString("import (\n\n") - g.WriteString("\"github.com/Mrs4s/go-cqhttp/coolq\"\n") - g.WriteString("\"github.com/Mrs4s/go-cqhttp/global\"\n") - g.WriteString("\"github.com/Mrs4s/go-cqhttp/pkg/onebot\"\n") + g.WriteString("\"github.com/sealdice/go-cqhttp/coolq\"\n") + g.WriteString("\"github.com/sealdice/go-cqhttp/global\"\n") + g.WriteString("\"github.com/sealdice/go-cqhttp/pkg/onebot\"\n") g.WriteString(")\n\n") g.WriteString(`func (c *Caller) call(action string, spec *onebot.Spec, p Getter) global.MSG {`) genVer := func(path int) { diff --git a/cmd/gocq/login.go b/cmd/gocq/login.go index 4feab4f78..0e34d26a0 100644 --- a/cmd/gocq/login.go +++ b/cmd/gocq/login.go @@ -10,15 +10,15 @@ import ( "strings" "time" - "github.com/Mrs4s/MiraiGo/client" - "github.com/Mrs4s/MiraiGo/utils" "github.com/mattn/go-colorable" "github.com/pkg/errors" + "github.com/sealdice/MiraiGo/client" + "github.com/sealdice/MiraiGo/utils" log "github.com/sirupsen/logrus" "gopkg.ilharper.com/x/isatty" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/internal/download" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/internal/download" ) var console = bufio.NewReader(os.Stdin) diff --git a/cmd/gocq/main.go b/cmd/gocq/main.go index fe0b04066..8212f2a69 100644 --- a/cmd/gocq/main.go +++ b/cmd/gocq/main.go @@ -12,28 +12,28 @@ import ( "sync" "time" - "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/client" - "github.com/Mrs4s/MiraiGo/wrapper" para "github.com/fumiama/go-hide-param" rotatelogs "github.com/lestrrat-go/file-rotatelogs" "github.com/pkg/errors" + "github.com/sealdice/MiraiGo/binary" + "github.com/sealdice/MiraiGo/client" + "github.com/sealdice/MiraiGo/wrapper" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "golang.org/x/crypto/pbkdf2" "golang.org/x/term" - "github.com/Mrs4s/go-cqhttp/coolq" - "github.com/Mrs4s/go-cqhttp/db" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/global/terminal" - "github.com/Mrs4s/go-cqhttp/internal/base" - "github.com/Mrs4s/go-cqhttp/internal/cache" - "github.com/Mrs4s/go-cqhttp/internal/download" - "github.com/Mrs4s/go-cqhttp/internal/selfdiagnosis" - "github.com/Mrs4s/go-cqhttp/internal/selfupdate" - "github.com/Mrs4s/go-cqhttp/modules/servers" - "github.com/Mrs4s/go-cqhttp/server" + "github.com/sealdice/go-cqhttp/coolq" + "github.com/sealdice/go-cqhttp/db" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/global/terminal" + "github.com/sealdice/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/cache" + "github.com/sealdice/go-cqhttp/internal/download" + "github.com/sealdice/go-cqhttp/internal/selfdiagnosis" + "github.com/sealdice/go-cqhttp/internal/selfupdate" + "github.com/sealdice/go-cqhttp/modules/servers" + "github.com/sealdice/go-cqhttp/server" ) // 允许通过配置文件设置的状态列表 diff --git a/cmd/gocq/qsign.go b/cmd/gocq/qsign.go index 345b131f5..e062ac5c2 100644 --- a/cmd/gocq/qsign.go +++ b/cmd/gocq/qsign.go @@ -16,12 +16,12 @@ import ( log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" - "github.com/Mrs4s/MiraiGo/utils" + "github.com/sealdice/MiraiGo/utils" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/internal/base" - "github.com/Mrs4s/go-cqhttp/internal/download" - "github.com/Mrs4s/go-cqhttp/modules/config" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/download" + "github.com/sealdice/go-cqhttp/modules/config" ) type currentSignServer atomic.Pointer[config.SignServer] diff --git a/coolq/api.go b/coolq/api.go index c129b329f..4ba94648d 100644 --- a/coolq/api.go +++ b/coolq/api.go @@ -14,23 +14,23 @@ import ( "strings" "time" - "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/client" - "github.com/Mrs4s/MiraiGo/message" - "github.com/Mrs4s/MiraiGo/utils" + "github.com/sealdice/MiraiGo/binary" + "github.com/sealdice/MiraiGo/client" + "github.com/sealdice/MiraiGo/message" + "github.com/sealdice/MiraiGo/utils" "github.com/segmentio/asm/base64" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" - "github.com/Mrs4s/go-cqhttp/db" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/internal/base" - "github.com/Mrs4s/go-cqhttp/internal/cache" - "github.com/Mrs4s/go-cqhttp/internal/download" - "github.com/Mrs4s/go-cqhttp/internal/msg" - "github.com/Mrs4s/go-cqhttp/internal/param" - "github.com/Mrs4s/go-cqhttp/modules/filter" - "github.com/Mrs4s/go-cqhttp/pkg/onebot" + "github.com/sealdice/go-cqhttp/db" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/cache" + "github.com/sealdice/go-cqhttp/internal/download" + "github.com/sealdice/go-cqhttp/internal/msg" + "github.com/sealdice/go-cqhttp/internal/param" + "github.com/sealdice/go-cqhttp/modules/filter" + "github.com/sealdice/go-cqhttp/pkg/onebot" ) type guildMemberPageToken struct { diff --git a/coolq/api_v12.go b/coolq/api_v12.go index cbda8ed51..a5605e18e 100644 --- a/coolq/api_v12.go +++ b/coolq/api_v12.go @@ -5,8 +5,8 @@ import ( "github.com/tidwall/gjson" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/internal/base" ) // CQGetVersion 获取版本信息 OneBotV12 diff --git a/coolq/bot.go b/coolq/bot.go index ca6d72661..d1959a917 100644 --- a/coolq/bot.go +++ b/coolq/bot.go @@ -12,22 +12,22 @@ import ( "sync" "time" - "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/client" - "github.com/Mrs4s/MiraiGo/message" - "github.com/Mrs4s/MiraiGo/utils" "github.com/RomiChan/syncx" "github.com/pkg/errors" + "github.com/sealdice/MiraiGo/binary" + "github.com/sealdice/MiraiGo/client" + "github.com/sealdice/MiraiGo/message" + "github.com/sealdice/MiraiGo/utils" "github.com/segmentio/asm/base64" log "github.com/sirupsen/logrus" "golang.org/x/image/webp" - "github.com/Mrs4s/go-cqhttp/db" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/internal/base" - "github.com/Mrs4s/go-cqhttp/internal/mime" - "github.com/Mrs4s/go-cqhttp/internal/msg" - "github.com/Mrs4s/go-cqhttp/pkg/onebot" + "github.com/sealdice/go-cqhttp/db" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/mime" + "github.com/sealdice/go-cqhttp/internal/msg" + "github.com/sealdice/go-cqhttp/pkg/onebot" ) // CQBot CQBot结构体,存储Bot实例相关配置 diff --git a/coolq/converter.go b/coolq/converter.go index 591056004..312d6ef58 100644 --- a/coolq/converter.go +++ b/coolq/converter.go @@ -4,12 +4,12 @@ import ( "strconv" "strings" - "github.com/Mrs4s/MiraiGo/client" - "github.com/Mrs4s/MiraiGo/message" - "github.com/Mrs4s/MiraiGo/topic" + "github.com/sealdice/MiraiGo/client" + "github.com/sealdice/MiraiGo/message" + "github.com/sealdice/MiraiGo/topic" log "github.com/sirupsen/logrus" - "github.com/Mrs4s/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/global" ) func convertGroupMemberInfo(groupID int64, m *client.GroupMemberInfo) global.MSG { diff --git a/coolq/cqcode.go b/coolq/cqcode.go index c7d740e16..07837d5c9 100644 --- a/coolq/cqcode.go +++ b/coolq/cqcode.go @@ -16,23 +16,23 @@ import ( "strings" "time" - "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/message" - "github.com/Mrs4s/MiraiGo/utils" b14 "github.com/fumiama/go-base16384" + "github.com/sealdice/MiraiGo/binary" + "github.com/sealdice/MiraiGo/message" + "github.com/sealdice/MiraiGo/utils" "github.com/segmentio/asm/base64" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" - "github.com/Mrs4s/go-cqhttp/db" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/internal/base" - "github.com/Mrs4s/go-cqhttp/internal/cache" - "github.com/Mrs4s/go-cqhttp/internal/download" - "github.com/Mrs4s/go-cqhttp/internal/mime" - "github.com/Mrs4s/go-cqhttp/internal/msg" - "github.com/Mrs4s/go-cqhttp/internal/param" - "github.com/Mrs4s/go-cqhttp/pkg/onebot" + "github.com/sealdice/go-cqhttp/db" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/cache" + "github.com/sealdice/go-cqhttp/internal/download" + "github.com/sealdice/go-cqhttp/internal/mime" + "github.com/sealdice/go-cqhttp/internal/msg" + "github.com/sealdice/go-cqhttp/internal/param" + "github.com/sealdice/go-cqhttp/pkg/onebot" ) // TODO: move this file to internal/msg, internal/onebot diff --git a/coolq/event.go b/coolq/event.go index 9081985dd..06ab1bf4b 100644 --- a/coolq/event.go +++ b/coolq/event.go @@ -8,16 +8,16 @@ import ( "strconv" "strings" - "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/client" - "github.com/Mrs4s/MiraiGo/message" + "github.com/sealdice/MiraiGo/binary" + "github.com/sealdice/MiraiGo/client" + "github.com/sealdice/MiraiGo/message" log "github.com/sirupsen/logrus" - "github.com/Mrs4s/go-cqhttp/db" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/internal/base" - "github.com/Mrs4s/go-cqhttp/internal/cache" - "github.com/Mrs4s/go-cqhttp/internal/download" + "github.com/sealdice/go-cqhttp/db" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/cache" + "github.com/sealdice/go-cqhttp/internal/download" ) // ToFormattedMessage 将给定[]message.IMessageElement转换为通过coolq.SetMessageFormat所定义的消息上报格式 diff --git a/coolq/feed.go b/coolq/feed.go index b8b09bc9a..1c22451fc 100644 --- a/coolq/feed.go +++ b/coolq/feed.go @@ -1,9 +1,9 @@ package coolq import ( - "github.com/Mrs4s/MiraiGo/topic" + "github.com/sealdice/MiraiGo/topic" - "github.com/Mrs4s/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/global" ) // FeedContentsToArrayMessage 将话题频道帖子内容转换为 Array Message diff --git a/db/database.go b/db/database.go index c9048226d..51f22fa19 100644 --- a/db/database.go +++ b/db/database.go @@ -4,7 +4,7 @@ import ( "fmt" "hash/crc32" - "github.com/Mrs4s/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/global" ) type ( diff --git a/db/leveldb/leveldb.go b/db/leveldb/leveldb.go index 7853e1b13..8a9b273cb 100644 --- a/db/leveldb/leveldb.go +++ b/db/leveldb/leveldb.go @@ -3,14 +3,14 @@ package leveldb import ( "path" - "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/utils" "github.com/pkg/errors" + "github.com/sealdice/MiraiGo/binary" + "github.com/sealdice/MiraiGo/utils" "github.com/syndtr/goleveldb/leveldb" "github.com/syndtr/goleveldb/leveldb/opt" "gopkg.in/yaml.v3" - "github.com/Mrs4s/go-cqhttp/db" + "github.com/sealdice/go-cqhttp/db" ) type database struct { diff --git a/db/leveldb/reader.go b/db/leveldb/reader.go index fef6ebd71..7799583f0 100644 --- a/db/leveldb/reader.go +++ b/db/leveldb/reader.go @@ -8,7 +8,7 @@ import ( "github.com/pkg/errors" - "github.com/Mrs4s/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/global" ) type intReader struct { diff --git a/db/leveldb/structs.go b/db/leveldb/structs.go index dfb7caade..431f64c29 100644 --- a/db/leveldb/structs.go +++ b/db/leveldb/structs.go @@ -1,6 +1,6 @@ package leveldb -import "github.com/Mrs4s/go-cqhttp/db" +import "github.com/sealdice/go-cqhttp/db" func (w *writer) writeStoredGroupMessage(x *db.StoredGroupMessage) { if x == nil { diff --git a/db/leveldb/writer.go b/db/leveldb/writer.go index a8acba7e3..f0302c51b 100644 --- a/db/leveldb/writer.go +++ b/db/leveldb/writer.go @@ -3,7 +3,7 @@ package leveldb import ( "bytes" - "github.com/Mrs4s/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/global" ) type intWriter struct { diff --git a/db/mongodb/mongodb.go b/db/mongodb/mongodb.go index 35ea702c7..2764bb037 100644 --- a/db/mongodb/mongodb.go +++ b/db/mongodb/mongodb.go @@ -9,7 +9,7 @@ import ( "go.mongodb.org/mongo-driver/mongo/options" "gopkg.in/yaml.v3" - "github.com/Mrs4s/go-cqhttp/db" + "github.com/sealdice/go-cqhttp/db" ) type database struct { diff --git a/db/multidb.go b/db/multidb.go index 68d0ab30f..717028acd 100644 --- a/db/multidb.go +++ b/db/multidb.go @@ -4,7 +4,7 @@ import ( "github.com/pkg/errors" "gopkg.in/yaml.v3" - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/base" ) // backends 多数据库支持, 后端支持 diff --git a/db/sqlite3/sqlite3.go b/db/sqlite3/sqlite3.go index a4f1256b7..1652179bb 100644 --- a/db/sqlite3/sqlite3.go +++ b/db/sqlite3/sqlite3.go @@ -14,10 +14,10 @@ import ( log "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" - "github.com/Mrs4s/MiraiGo/binary" - "github.com/Mrs4s/MiraiGo/utils" + "github.com/sealdice/MiraiGo/binary" + "github.com/sealdice/MiraiGo/utils" - "github.com/Mrs4s/go-cqhttp/db" + "github.com/sealdice/go-cqhttp/db" ) type database struct { diff --git a/docs/cqhttp.md b/docs/cqhttp.md index 901c289e9..4c9d097ae 100644 --- a/docs/cqhttp.md +++ b/docs/cqhttp.md @@ -640,7 +640,7 @@ Type: `rps` |------------|----------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------| | `group_id` | int64 | 群号 | | `user_id` | int64 | 私聊QQ号 | -| `messages` | forward node[] | 自定义转发消息, 具体看 [CQCode](https://github.com/Mrs4s/go-cqhttp/blob/master/docs/cqhttp.md#%E5%90%88%E5%B9%B6%E8%BD%AC%E5%8F%91%E6%B6%88%E6%81%AF%E8%8A%82%E7%82%B9) | +| `messages` | forward node[] | 自定义转发消息, 具体看 [CQCode](https://github.com/sealdice/go-cqhttp/blob/master/docs/cqhttp.md#%E5%90%88%E5%B9%B6%E8%BD%AC%E5%8F%91%E6%B6%88%E6%81%AF%E8%8A%82%E7%82%B9) | 响应数据 diff --git a/docs/quick_start.md b/docs/quick_start.md index 28c8c5cde..54ebddf9b 100644 --- a/docs/quick_start.md +++ b/docs/quick_start.md @@ -6,7 +6,7 @@ # 基础教程 ## 下载 -从[release](https://github.com/Mrs4s/go-cqhttp/releases)界面下载最新版本的go-cqhttp +从[release](https://github.com/sealdice/go-cqhttp/releases)界面下载最新版本的go-cqhttp - Windows下32位文件为 `go-cqhttp-v*-windows-386.zip` - Windows下64位文件为 `go-cqhttp-v*-windows-amd64.zip` @@ -33,7 +33,7 @@ [WARNING]: 尝试加载配置文件 config.hjson 失败: 文件不存在 [INFO]: 默认配置文件已生成,请编辑 config.hjson 后重启程序. ``` -2. 参照[config.md](https://github.com/Mrs4s/go-cqhttp/blob/master/docs/config.md)和你所用到的插件的 `README` 填入参数 +2. 参照[config.md](https://github.com/sealdice/go-cqhttp/blob/master/docs/config.md)和你所用到的插件的 `README` 填入参数 3. 再次双击`go-cqhttp.exe` ``` [INFO]: 登录成功 欢迎使用: balabala @@ -85,7 +85,7 @@ enable ws?(Y/n) [INFO]: 默认配置文件已生成,请编辑 config.hjson 后重启程序. ``` -4. 参照[config.md](https://github.com/Mrs4s/go-cqhttp/blob/master/docs/config.md)和你所用到的插件的 `README` 填入参数 +4. 参照[config.md](https://github.com/sealdice/go-cqhttp/blob/master/docs/config.md)和你所用到的插件的 `README` 填入参数 5. 再次输入 `./go-cqhttp`,`Enter`运行 ``` [INFO]: 登录成功 欢迎使用: balabala @@ -119,7 +119,7 @@ enable ws?(Y/n) ## 如何自己构建 -1. [下载源码](https://github.com/Mrs4s/go-cqhttp/archive/master.zip)并解压 || 使用`git clone https://github.com/Mrs4s/go-cqhttp.git`来拉取 +1. [下载源码](https://github.com/sealdice/go-cqhttp/archive/master.zip)并解压 || 使用`git clone https://github.com/sealdice/go-cqhttp.git`来拉取 2. [下载golang binary release](https://golang.google.cn/dl/)并安装或者[自己构建golang](https://golang.google.cn/doc/install/source) @@ -133,7 +133,7 @@ enable ws?(Y/n) ### 方法一 -从[release](https://github.com/Mrs4s/go-cqhttp/releases)界面下载最新版本的go-cqhttp +从[release](https://github.com/sealdice/go-cqhttp/releases)界面下载最新版本的go-cqhttp 并替换之前的版本 ### 方法二 diff --git a/global/buffer.go b/global/buffer.go index e899dae3f..82abcd942 100644 --- a/global/buffer.go +++ b/global/buffer.go @@ -3,7 +3,7 @@ package global import ( "bytes" - "github.com/Mrs4s/MiraiGo/binary" // 和 MiraiGo 共用同一 buffer 池 + "github.com/sealdice/MiraiGo/binary" // 和 MiraiGo 共用同一 buffer 池 ) // NewBuffer 从池中获取新 bytes.Buffer diff --git a/global/codec.go b/global/codec.go index 0c155a43c..680922503 100644 --- a/global/codec.go +++ b/global/codec.go @@ -9,7 +9,7 @@ import ( "github.com/pkg/errors" - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/base" ) // EncoderSilk 将音频编码为Silk diff --git a/global/fs.go b/global/fs.go index cfa9bd366..82ba135ba 100644 --- a/global/fs.go +++ b/global/fs.go @@ -12,12 +12,12 @@ import ( "runtime" "strings" - "github.com/Mrs4s/MiraiGo/utils" b14 "github.com/fumiama/go-base16384" + "github.com/sealdice/MiraiGo/utils" "github.com/segmentio/asm/base64" log "github.com/sirupsen/logrus" - "github.com/Mrs4s/go-cqhttp/internal/download" + "github.com/sealdice/go-cqhttp/internal/download" ) const ( diff --git a/global/net.go b/global/net.go index 030cbea18..4b43411e7 100644 --- a/global/net.go +++ b/global/net.go @@ -5,7 +5,7 @@ import ( "github.com/tidwall/gjson" - "github.com/Mrs4s/go-cqhttp/internal/download" + "github.com/sealdice/go-cqhttp/internal/download" ) // QQMusicSongInfo 通过给定id在QQ音乐上查找曲目信息 diff --git a/global/terminal/title.go b/global/terminal/title.go index 806f1ede4..2efc151f9 100644 --- a/global/terminal/title.go +++ b/global/terminal/title.go @@ -6,7 +6,7 @@ import ( "fmt" "time" - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/base" ) // SetTitle 设置标题为 go-cqhttp `版本` `版权` diff --git a/global/terminal/title_windows.go b/global/terminal/title_windows.go index 098d62847..a8246bd94 100644 --- a/global/terminal/title_windows.go +++ b/global/terminal/title_windows.go @@ -8,7 +8,7 @@ import ( "golang.org/x/sys/windows" - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/base" ) func setConsoleTitle(title string) error { diff --git a/go.mod b/go.mod index 66f7881ed..3fd7e5c69 100644 --- a/go.mod +++ b/go.mod @@ -1,28 +1,28 @@ -module github.com/Mrs4s/go-cqhttp +module github.com/sealdice/go-cqhttp go 1.20 require ( github.com/FloatTech/sqlite v1.6.3 github.com/Microsoft/go-winio v0.6.2-0.20230724192519-b29bbd58a65a - github.com/Mrs4s/MiraiGo v0.0.0-20230823050531-a8213e127b2b - github.com/RomiChan/syncx v0.0.0-20221202055724-5f842c53020e + github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7 github.com/RomiChan/websocket v1.4.3-0.20220227141055-9b2c6168c9c5 github.com/fumiama/go-base16384 v1.7.0 github.com/fumiama/go-hide-param v0.1.4 github.com/lestrrat-go/file-rotatelogs v2.4.0+incompatible github.com/mattn/go-colorable v0.1.13 github.com/pkg/errors v0.9.1 + github.com/sealdice/MiraiGo v0.0.0-20241010082500-65c5f6949c5c github.com/segmentio/asm v1.2.0 github.com/sirupsen/logrus v1.9.3 github.com/stretchr/testify v1.8.1 github.com/syndtr/goleveldb v1.0.0 - github.com/tidwall/gjson v1.15.0 + github.com/tidwall/gjson v1.17.1 github.com/wdvxdr1123/go-silk v0.0.0-20210316130616-d47b553def60 go.mongodb.org/mongo-driver v1.12.0 golang.org/x/crypto v0.17.0 - golang.org/x/image v0.10.0 - golang.org/x/sys v0.15.0 + golang.org/x/image v0.18.0 + golang.org/x/sys v0.20.0 golang.org/x/term v0.15.0 golang.org/x/time v0.3.0 gopkg.ilharper.com/x/isatty v1.1.1 @@ -31,9 +31,11 @@ require ( require ( github.com/FloatTech/ttl v0.0.0-20220715042055-15612be72f5b // indirect + github.com/LagrangeDev/LagrangeGo v0.1.0 // indirect github.com/RomiChan/protobuf v0.1.1-0.20230204044148-2ed269a2e54d // indirect github.com/davecgh/go-spew v1.1.1 // indirect - github.com/fumiama/imgsz v0.0.2 // indirect + github.com/fumiama/gofastTEA v0.0.10 // indirect + github.com/fumiama/imgsz v0.0.4 // indirect github.com/golang/snappy v0.0.4 // indirect github.com/google/uuid v1.3.0 // indirect github.com/jonboulle/clockwork v0.3.0 // indirect @@ -41,7 +43,7 @@ require ( github.com/klauspost/compress v1.13.6 // indirect github.com/kr/pretty v0.3.1 // indirect github.com/lestrrat-go/strftime v1.0.6 // indirect - github.com/mattn/go-isatty v0.0.16 // indirect + github.com/mattn/go-isatty v0.0.20 // indirect github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe // indirect github.com/pierrec/lz4/v4 v4.1.15 // indirect github.com/pmezard/go-difflib v1.0.0 // indirect @@ -52,10 +54,10 @@ require ( github.com/xdg-go/scram v1.1.2 // indirect github.com/xdg-go/stringprep v1.0.4 // indirect github.com/youmark/pkcs8 v0.0.0-20181117223130-1be2e3e5546d // indirect - golang.org/x/mod v0.12.0 // indirect - golang.org/x/sync v0.3.0 // indirect - golang.org/x/text v0.14.0 // indirect - golang.org/x/tools v0.11.0 // indirect + golang.org/x/mod v0.17.0 // indirect + golang.org/x/sync v0.7.0 // indirect + golang.org/x/text v0.16.0 // indirect + golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d // indirect lukechampine.com/uint128 v1.2.0 // indirect modernc.org/cc/v3 v3.40.0 // indirect modernc.org/ccgo/v3 v3.16.13 // indirect diff --git a/go.sum b/go.sum index 29134641b..f63d31d71 100644 --- a/go.sum +++ b/go.sum @@ -2,14 +2,14 @@ github.com/FloatTech/sqlite v1.6.3 h1:MQkqBNlkPuCoKQQgoNLuTL/2Ci3tBTFAnVYBdD0Wy4 github.com/FloatTech/sqlite v1.6.3/go.mod h1:zFbHzRfB+CJ+VidfjuVbrcin3DAz283F7hF1hIeHzpY= github.com/FloatTech/ttl v0.0.0-20220715042055-15612be72f5b h1:tvciXWq2nuvTbFeJGLDNIdRX3BI546D3O7k7vrVueZw= github.com/FloatTech/ttl v0.0.0-20220715042055-15612be72f5b/go.mod h1:fHZFWGquNXuHttu9dUYoKuNbm3dzLETnIOnm1muSfDs= +github.com/LagrangeDev/LagrangeGo v0.1.0 h1:3f/PvhKF7eOilticUmy8FLmtkjjtymAuFY91xavhIs8= +github.com/LagrangeDev/LagrangeGo v0.1.0/go.mod h1:qK/l75YuMYdJWfPcxPhfjybJdXD4kzMFvcbKlvdAoa0= github.com/Microsoft/go-winio v0.6.2-0.20230724192519-b29bbd58a65a h1:aU1703IHxupjzipvhu16qYKLMR03e+8WuNR+JMsKfGU= github.com/Microsoft/go-winio v0.6.2-0.20230724192519-b29bbd58a65a/go.mod h1:OZqLNXdYJHmx7aqq/T6wAdFEdoGm5nmIfC4kU7M8P8o= -github.com/Mrs4s/MiraiGo v0.0.0-20230823050531-a8213e127b2b h1:0GG6kDFgzie0HNdlkrgPwyX4WqUjckTP1xTM4cYaC2g= -github.com/Mrs4s/MiraiGo v0.0.0-20230823050531-a8213e127b2b/go.mod h1:mU3fBFU+7eO0kaGes7YRKtzIDtwIU84nSSwTV7NK2b0= github.com/RomiChan/protobuf v0.1.1-0.20230204044148-2ed269a2e54d h1:/Xuj3fIiMY2ls1TwvPKmaqQrtJsPY+c9s+0lOScVHd8= github.com/RomiChan/protobuf v0.1.1-0.20230204044148-2ed269a2e54d/go.mod h1:2Ie+hdBFQpQFDHfeklgxoFmQRCE7O+KwFpISeXq7OwA= -github.com/RomiChan/syncx v0.0.0-20221202055724-5f842c53020e h1:wR3MXQ3VbUlPKOOUwLOYgh/QaJThBTYtsl673O3lqSA= -github.com/RomiChan/syncx v0.0.0-20221202055724-5f842c53020e/go.mod h1:vD7Ra3Q9onRtojoY5sMCLQ7JBgjUsrXDnDKyFxqpf9w= +github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7 h1:S/ferNiehVjNaBMNNBxUjLtVmP/YWD6Yh79RfPv4ehU= +github.com/RomiChan/syncx v0.0.0-20240418144900-b7402ffdebc7/go.mod h1:vD7Ra3Q9onRtojoY5sMCLQ7JBgjUsrXDnDKyFxqpf9w= github.com/RomiChan/websocket v1.4.3-0.20220227141055-9b2c6168c9c5 h1:bBmmB7he0iVN4m5mcehfheeRUEer/Avo4ujnxI3uCqs= github.com/RomiChan/websocket v1.4.3-0.20220227141055-9b2c6168c9c5/go.mod h1:0UcFaCkhp6vZw6l5Dpq0Dp673CoF9GdvA8lTfst0GiU= github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E= @@ -22,15 +22,17 @@ github.com/fumiama/go-base16384 v1.7.0 h1:6fep7XPQWxRlh4Hu+KsdH+6+YdUp+w6CwRXtMW github.com/fumiama/go-base16384 v1.7.0/go.mod h1:OEn+947GV5gsbTAnyuUW/SrfxJYUdYupSIQXOuGOcXM= github.com/fumiama/go-hide-param v0.1.4 h1:y7TRTzZMdCH9GOXnIzU3B+1BSkcmvejVGmGsz4t0DGU= github.com/fumiama/go-hide-param v0.1.4/go.mod h1:vJkQlJIEI56nIyp7tCQu1/2QOyKtZpudsnJkGk9U1aY= -github.com/fumiama/imgsz v0.0.2 h1:fAkC0FnIscdKOXwAxlyw3EUba5NzxZdSxGaq3Uyfxak= -github.com/fumiama/imgsz v0.0.2/go.mod h1:dR71mI3I2O5u6+PCpd47M9TZptzP+39tRBcbdIkoqM4= +github.com/fumiama/gofastTEA v0.0.10 h1:JJJ+brWD4kie+mmK2TkspDXKzqq0IjXm89aGYfoGhhQ= +github.com/fumiama/gofastTEA v0.0.10/go.mod h1:RIdbYZyB4MbH6ZBlPymRaXn3cD6SedlCu5W/HHfMPBk= +github.com/fumiama/imgsz v0.0.4 h1:Lsasu2hdSSFS+vnD+nvR1UkiRMK7hcpyYCC0FzgSMFI= +github.com/fumiama/imgsz v0.0.4/go.mod h1:bISOQVTlw9sRytPwe8ir7tAaEmyz9hSNj9n8mXMBG0E= github.com/golang/protobuf v1.2.0/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/snappy v0.0.0-20180518054509-2e65f85255db/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.1/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/golang/snappy v0.0.4 h1:yAGX7huGHXlcLOEtBnF4w7FQwA26wojNCwOYAEhLjQM= github.com/golang/snappy v0.0.4/go.mod h1:/XxbfmMg8lxefKM7IXC3fBNl/7bRcc72aCRzEWrmP2Q= github.com/google/go-cmp v0.5.2/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= -github.com/google/go-cmp v0.5.9 h1:O2Tfq5qg4qc4AmwVlvv0oLiVAGB7enBSJ2x2DqQFi38= +github.com/google/go-cmp v0.6.0 h1:ofyhxvXcZhMsU5ulbFiLKl/XBFqE1GSq7atu8tAmTRI= github.com/google/pprof v0.0.0-20221118152302-e6195bd50e26 h1:Xim43kblpZXfIBQsbuBVKCudVG457BR2GZFIz3uw3hQ= github.com/google/uuid v1.3.0 h1:t6JiXgmwXMjEs8VusXIJk2BXHsn+wx8BZdTaoZ5fu7I= github.com/google/uuid v1.3.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= @@ -55,8 +57,9 @@ github.com/lestrrat-go/strftime v1.0.6/go.mod h1:f7jQKgV5nnJpYgdEasS+/y7EsTb8ykN github.com/mattn/go-colorable v0.1.13 h1:fFA4WZxdEF4tXPZVKMLwD8oUnCTTo08duU7wxecdEvA= github.com/mattn/go-colorable v0.1.13/go.mod h1:7S9/ev0klgBDR4GtXTXX8a3vIGJpMovkB8vQcUbaXHg= github.com/mattn/go-isatty v0.0.12/go.mod h1:cbi8OIDigv2wuxKPP5vlRcQ1OAZbq2CE4Kysco4FUpU= -github.com/mattn/go-isatty v0.0.16 h1:bq3VjFmv/sOjHtdEhmkEV4x1AJtvUvOJ2PFAZ5+peKQ= github.com/mattn/go-isatty v0.0.16/go.mod h1:kYGgaQfpe5nmfYZH+SKPsOc2e4SrIfOl2e/yFXSvRLM= +github.com/mattn/go-isatty v0.0.20 h1:xfD0iDuEKnDkl03q4limB+vH+GxLEtL/jb4xVJSWWEY= +github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D7dTCTo3Y= github.com/mattn/go-sqlite3 v1.14.15 h1:vfoHhTN1af61xCRSWzFIWzx2YskyMTwHLrExkBOjvxI= github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe h1:iruDEfMl2E6fbMZ9s0scYfZQ84/6SPL6zC8ACM2oIL0= github.com/montanaflynn/stats v0.0.0-20171201202039-1bf9dbcd8cbe/go.mod h1:wL8QJuTMNUDYhXwkmfOly8iTdp5TEcJFWZD2D7SIkUc= @@ -77,6 +80,8 @@ github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94 github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rogpeppe/go-internal v1.9.0 h1:73kH8U+JUqXU8lRuOHeVHaa/SZPifC7BkcraZVejAe8= github.com/rogpeppe/go-internal v1.9.0/go.mod h1:WtVeX8xhTBvf0smdhujwtBcq4Qrzq/fJaraNFVN+nFs= +github.com/sealdice/MiraiGo v0.0.0-20241010082500-65c5f6949c5c h1:X1XO+pOw+TMop+MSddyn1ucRxK8VaAGzOmd7psB0g9o= +github.com/sealdice/MiraiGo v0.0.0-20241010082500-65c5f6949c5c/go.mod h1:qrHE4qD1sSp0i8UkqT/VhhrFTjYlQwNlCSkhfx3yCyc= github.com/segmentio/asm v1.2.0 h1:9BQrFxC+YOHJlTlHGkTrFWf59nbL3XnCoFLTwDCI7ys= github.com/segmentio/asm v1.2.0/go.mod h1:BqMnlJP91P8d+4ibuonYZw9mfnzI9HfxselHZr5aAcs= github.com/sirupsen/logrus v1.9.3 h1:dueUQJ1C2q9oE3F7wvmSGAaVtTmUizReu6fjN8uqzbQ= @@ -92,8 +97,8 @@ github.com/stretchr/testify v1.8.1 h1:w7B6lhMri9wdJUVmEZPGGhZzrYTPvgJArz7wNPgYKs github.com/stretchr/testify v1.8.1/go.mod h1:w2LPCIKwWwSfY2zedu0+kehJoqGctiVI29o6fzry7u4= github.com/syndtr/goleveldb v1.0.0 h1:fBdIW9lB4Iz0n9khmH8w27SJ3QEJ7+IgjPEwGSZiFdE= github.com/syndtr/goleveldb v1.0.0/go.mod h1:ZVVdQEZoIme9iO1Ch2Jdy24qqXrMMOU6lpPAyBWyWuQ= -github.com/tidwall/gjson v1.15.0 h1:5n/pM+v3r5ujuNl4YLZLsQ+UE5jlkLVm7jMzT5Mpolw= -github.com/tidwall/gjson v1.15.0/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= +github.com/tidwall/gjson v1.17.1 h1:wlYEnwqAHgzmhNUFfw7Xalt2JzQvsMx2Se4PcoFCT/U= +github.com/tidwall/gjson v1.17.1/go.mod h1:/wbyibRr2FHMks5tjHJ5F8dMZh3AcwJEMf5vlfC0lxk= github.com/tidwall/match v1.1.1 h1:+Ho715JplO36QYgwN9PGYNhgZvoUSc9X2c80KVTi+GA= github.com/tidwall/match v1.1.1/go.mod h1:eRSPERbgtNPcGhD8UCthc6PmLEQXEWd3PRB5JTxsfmM= github.com/tidwall/pretty v1.2.0 h1:RWIZEg2iJ8/g6fDDYzMpobmaoGh5OLl4AXtGUGPcqCs= @@ -116,25 +121,22 @@ golang.org/x/crypto v0.0.0-20210921155107-089bfa567519/go.mod h1:GvvjBRRGRdwPK5y golang.org/x/crypto v0.0.0-20220622213112-05595931fe9d/go.mod h1:IxCIyHEi3zRg3s0A5j5BB6A9Jmi73HwBIUl50j+osU4= golang.org/x/crypto v0.17.0 h1:r8bRNjWL3GshPW3gkd+RpvzWrZAwPS49OmTGZ/uhM4k= golang.org/x/crypto v0.17.0/go.mod h1:gCAAfMLgwOJRpTjQ2zCCt2OcSfYMTeZVSRtQlPC7Nq4= -golang.org/x/image v0.10.0 h1:gXjUUtwtx5yOE0VKWq1CH4IJAClq4UGgUA3i+rpON9M= -golang.org/x/image v0.10.0/go.mod h1:jtrku+n79PfroUbvDdeUWMAI+heR786BofxrbiSF+J0= +golang.org/x/image v0.18.0 h1:jGzIakQa/ZXI1I0Fxvaa9W7yP25TqT6cHIHn+6CqvSQ= +golang.org/x/image v0.18.0/go.mod h1:4yyo5vMFQjVjUcVk4jEQcU9MGy/rulF5WvUILseCM2E= golang.org/x/mod v0.6.0-dev.0.20220419223038-86c51ed26bb4/go.mod h1:jJ57K6gSWd91VN4djpZkiMVwK6gcyfeH4XE8wZrZaV4= -golang.org/x/mod v0.8.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= -golang.org/x/mod v0.12.0 h1:rmsUpXtvNzj340zd98LZ4KntptpfRHwpFOHG188oHXc= -golang.org/x/mod v0.12.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs= +golang.org/x/mod v0.17.0 h1:zY54UmvipHiNd+pm+m0x9KhZ9hl1/7QNMyxXbc6ICqA= +golang.org/x/mod v0.17.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod h1:mL1N/T3taQHkDXs73rZJwtUhF3w3ftmwwsq0BUmARs4= golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod h1:z5CRVTTTmAJ677TzLLGU+0bjPO0LkuOLi4/5GtJWs/s= golang.org/x/net v0.0.0-20210226172049-e18ecbb05110/go.mod h1:m0MpNAwzfU5UDzcl9v0D8zg8gWTRqZa9RBIspLL5mdg= golang.org/x/net v0.0.0-20211112202133-69e39bad7dc2/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.0.0-20220722155237-a158d28d115b/go.mod h1:XRhObCWvk6IyKnWLug+ECip1KBveYUHfp+8e9klMJ9c= -golang.org/x/net v0.6.0/go.mod h1:2Tu9+aMcznHK/AK1HMvgo6xiTLG5rD5rZLDS+rp2Bjs= -golang.org/x/net v0.12.0 h1:cfawfvKITfUsFCeJIHJrbSxpeu/E81khclypR0GVT50= +golang.org/x/net v0.25.0 h1:d/OCCoBEUq33pjydKrGQhw7IlUPI2Oylr+8qLx49kac= golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= golang.org/x/sync v0.0.0-20220722155255-886fb9371eb4/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.1.0/go.mod h1:RxMgew5VJxzue5/jJTE5uejpjVlOe/izrB70Jof72aM= -golang.org/x/sync v0.3.0 h1:ftCYgMx6zT/asHUrPw8BLLscYtGznsLAnjq5RH9P66E= -golang.org/x/sync v0.3.0/go.mod h1:FU7BRWz2tNW+3quACPkgCx/L+uEAv1htQ0V83Z9Rj+Y= +golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= +golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod h1:STP8DvDyc/dI5b8T5hshtkjS+E42TnysNCUPdjciGhY= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -147,12 +149,11 @@ golang.org/x/sys v0.0.0-20220715151400-c0bba94af5f8/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.0.0-20220722155257-8c9f86f7a55f/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.2.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.5.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.15.0 h1:h48lPFYpsTvQJZF4EKyI4aLHaev3CxivZmv7yZig9pc= -golang.org/x/sys v0.15.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= +golang.org/x/sys v0.20.0 h1:Od9JTbYCk261bKm4M/mw7AklTlFYIa0bIp9BgSm1S8Y= +golang.org/x/sys v0.20.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/term v0.0.0-20210927222741-03fcf44c2211/go.mod h1:jbD1KX2456YbFQfuXm/mYQcufACuNUgVhRMnK/tPxf8= -golang.org/x/term v0.5.0/go.mod h1:jMB1sMXY+tzblOD4FWmEbocvup2/aLOaQEp7JmGp78k= golang.org/x/term v0.15.0 h1:y/Oo/a/q3IXu26lQgl04j/gjuBDOBlx7X6Om1j2CPW4= golang.org/x/term v0.15.0/go.mod h1:BDl952bC7+uMoWR75FIrCDx79TPU9oHkTZ9yRbYOrX0= golang.org/x/text v0.3.0/go.mod h1:NqM8EUOU14njkJ3fqMW+pc6Ldnwhi/IjpwHt7yyuwOQ= @@ -161,17 +162,15 @@ golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.3.7/go.mod h1:u+2+/6zg+i71rQMx5EYifcz6MCKuco9NR6JIITiCfzQ= golang.org/x/text v0.3.8/go.mod h1:E6s5w1FMmriuDzIBO73fBruAKo1PCIq6d2Q6DHfQ8WQ= golang.org/x/text v0.7.0/go.mod h1:mrYo+phRRbMaCq/xk9113O4dZlRixOauAjOtrjsXDZ8= -golang.org/x/text v0.11.0/go.mod h1:TvPlkZtksWOMsz7fbANvkp4WM8x/WCo/om8BMLbz+aE= -golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= -golang.org/x/text v0.14.0/go.mod h1:18ZOQIKpY8NJVqYksKHtTdi31H5itFRjB5/qKTNYzSU= +golang.org/x/text v0.16.0 h1:a94ExnEXNtEwYLGJSIUxnWoxoRz/ZcCsV63ROupILh4= +golang.org/x/text v0.16.0/go.mod h1:GhwF1Be+LQoKShO3cGOHzqOgRrGaYc9AvblQOmPVHnI= golang.org/x/time v0.3.0 h1:rg5rLMjNzMS1RkNLzCG38eapWhnYLFYXDXj2gOlr8j4= golang.org/x/time v0.3.0/go.mod h1:tRJNPiyCQ0inRvYxbN9jk5I+vvW/OXSQhTDSoE431IQ= golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo= golang.org/x/tools v0.1.12/go.mod h1:hNGJHUnrk76NpqgfD5Aqm5Crs+Hm0VOH/i9J2+nxYbc= -golang.org/x/tools v0.6.0/go.mod h1:Xwgl3UAJ/d3gWutnCtw505GrjyAbvKui8lOU390QaIU= -golang.org/x/tools v0.11.0 h1:EMCa6U9S2LtZXLAMoWiR/R8dAQFRqbAitmbJ2UKhoi8= -golang.org/x/tools v0.11.0/go.mod h1:anzJrxPjNtfgiYQYirP2CPGzGLxrH2u2QBhn6Bf3qY8= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d h1:vU5i/LfpvrRCpgM/VPfJLg5KjxD3E+hfT1SH+d9zLwg= +golang.org/x/tools v0.21.1-0.20240508182429-e35e4ccd0d2d/go.mod h1:aiJjzUbINMkxbQROHiO6hDPo2LHcIPhhQsa9DLh0yGk= golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.ilharper.com/x/isatty v1.1.1 h1:RAg32Pxq/nIK4AVtdm9RBqxsxZZX1uRKRSS21E5SHMk= diff --git a/internal/base/flag.go b/internal/base/flag.go index 105fad5a5..cd7edd66b 100644 --- a/internal/base/flag.go +++ b/internal/base/flag.go @@ -10,7 +10,7 @@ import ( log "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" - "github.com/Mrs4s/go-cqhttp/modules/config" + "github.com/sealdice/go-cqhttp/modules/config" ) // command flags diff --git a/internal/download/download.go b/internal/download/download.go index c130f96e1..a0b543ff5 100644 --- a/internal/download/download.go +++ b/internal/download/download.go @@ -19,7 +19,7 @@ import ( "github.com/pkg/errors" "github.com/tidwall/gjson" - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/base" ) var client = newClient(time.Second * 15) diff --git a/internal/mime/mime.go b/internal/mime/mime.go index c8765bd4b..79170d12a 100644 --- a/internal/mime/mime.go +++ b/internal/mime/mime.go @@ -6,7 +6,7 @@ import ( "net/http" "strings" - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/base" ) const limit = 4 * 1024 diff --git a/internal/msg/element.go b/internal/msg/element.go index b54710308..9e74cb675 100644 --- a/internal/msg/element.go +++ b/internal/msg/element.go @@ -6,7 +6,7 @@ import ( "strings" "unicode/utf8" - "github.com/Mrs4s/MiraiGo/binary" + "github.com/sealdice/MiraiGo/binary" ) // @@@ CQ码转义处理 @@@ diff --git a/internal/msg/local.go b/internal/msg/local.go index 9b8e6e01d..d37e5d5bc 100644 --- a/internal/msg/local.go +++ b/internal/msg/local.go @@ -3,7 +3,7 @@ package msg import ( "io" - "github.com/Mrs4s/MiraiGo/message" + "github.com/sealdice/MiraiGo/message" ) // Poke 拍一拍 diff --git a/internal/msg/parse_test.go b/internal/msg/parse_test.go index d11c3b7dd..2c8783bef 100644 --- a/internal/msg/parse_test.go +++ b/internal/msg/parse_test.go @@ -5,7 +5,7 @@ import ( "strings" "testing" - "github.com/Mrs4s/MiraiGo/utils" + "github.com/sealdice/MiraiGo/utils" "github.com/stretchr/testify/assert" "github.com/tidwall/gjson" ) diff --git a/internal/selfdiagnosis/diagnoses.go b/internal/selfdiagnosis/diagnoses.go index b18a76a7f..36bf53554 100644 --- a/internal/selfdiagnosis/diagnoses.go +++ b/internal/selfdiagnosis/diagnoses.go @@ -2,7 +2,7 @@ package selfdiagnosis import ( - "github.com/Mrs4s/MiraiGo/client" + "github.com/sealdice/MiraiGo/client" log "github.com/sirupsen/logrus" ) diff --git a/internal/selfupdate/update.go b/internal/selfupdate/update.go index 108e5fc1c..b4fc69f8a 100644 --- a/internal/selfupdate/update.go +++ b/internal/selfupdate/update.go @@ -16,9 +16,9 @@ import ( "github.com/sirupsen/logrus" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/internal/base" - "github.com/Mrs4s/go-cqhttp/internal/download" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/download" ) func readLine() (str string) { @@ -49,7 +49,7 @@ func CheckUpdate() { return } if global.VersionNameCompare(base.Version, latest) { - logrus.Infof("当前有更新的 go-cqhttp 可供更新, 请前往 https://github.com/Mrs4s/go-cqhttp/releases 下载.") + logrus.Infof("当前有更新的 go-cqhttp 可供更新, 请前往 https://github.com/sealdice/go-cqhttp/releases 下载.") logrus.Infof("当前版本: %v 最新版本: %v", base.Version, latest) return } diff --git a/main.go b/main.go index db912b5d0..fa7f2c8af 100644 --- a/main.go +++ b/main.go @@ -2,15 +2,15 @@ package main import ( - "github.com/Mrs4s/go-cqhttp/cmd/gocq" - "github.com/Mrs4s/go-cqhttp/global/terminal" + "github.com/sealdice/go-cqhttp/cmd/gocq" + "github.com/sealdice/go-cqhttp/global/terminal" - _ "github.com/Mrs4s/go-cqhttp/db/leveldb" // leveldb 数据库支持 - _ "github.com/Mrs4s/go-cqhttp/modules/silk" // silk编码模块 + _ "github.com/sealdice/go-cqhttp/db/leveldb" // leveldb 数据库支持 + _ "github.com/sealdice/go-cqhttp/modules/silk" // silk编码模块 // 其他模块 - // _ "github.com/Mrs4s/go-cqhttp/db/sqlite3" // sqlite3 数据库支持 - // _ "github.com/Mrs4s/go-cqhttp/db/mongodb" // mongodb 数据库支持 - // _ "github.com/Mrs4s/go-cqhttp/modules/pprof" // pprof 性能分析 + // _ "github.com/sealdice/go-cqhttp/db/sqlite3" // sqlite3 数据库支持 + // _ "github.com/sealdice/go-cqhttp/db/mongodb" // mongodb 数据库支持 + // _ "github.com/sealdice/go-cqhttp/modules/pprof" // pprof 性能分析 ) func main() { diff --git a/modules/api/api.go b/modules/api/api.go index 8573a0895..71464ae00 100644 --- a/modules/api/api.go +++ b/modules/api/api.go @@ -3,9 +3,9 @@ package api import ( - "github.com/Mrs4s/go-cqhttp/coolq" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/pkg/onebot" + "github.com/sealdice/go-cqhttp/coolq" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/pkg/onebot" ) func (c *Caller) call(action string, spec *onebot.Spec, p Getter) global.MSG { diff --git a/modules/api/caller.go b/modules/api/caller.go index 2d3acf8f1..14f353a59 100644 --- a/modules/api/caller.go +++ b/modules/api/caller.go @@ -4,9 +4,9 @@ package api import ( "github.com/tidwall/gjson" - "github.com/Mrs4s/go-cqhttp/coolq" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/pkg/onebot" + "github.com/sealdice/go-cqhttp/coolq" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/pkg/onebot" ) //go:generate go run ./../../cmd/api-generator -pkg api -path=./../../coolq/api.go,./../../coolq/api_v12.go -o api.go diff --git a/modules/pprof/pprof.go b/modules/pprof/pprof.go index 56e1494d7..56f2a0bd2 100644 --- a/modules/pprof/pprof.go +++ b/modules/pprof/pprof.go @@ -11,9 +11,9 @@ import ( log "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" - "github.com/Mrs4s/go-cqhttp/coolq" - "github.com/Mrs4s/go-cqhttp/modules/config" - "github.com/Mrs4s/go-cqhttp/modules/servers" + "github.com/sealdice/go-cqhttp/coolq" + "github.com/sealdice/go-cqhttp/modules/config" + "github.com/sealdice/go-cqhttp/modules/servers" ) const pprofDefault = ` # pprof 性能分析服务器, 一般情况下不需要启用. diff --git a/modules/servers/servers.go b/modules/servers/servers.go index e1c28c48a..5e51a14b1 100644 --- a/modules/servers/servers.go +++ b/modules/servers/servers.go @@ -4,8 +4,8 @@ package servers import ( "gopkg.in/yaml.v3" - "github.com/Mrs4s/go-cqhttp/coolq" - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/coolq" + "github.com/sealdice/go-cqhttp/internal/base" ) var ( diff --git a/modules/silk/codec.go b/modules/silk/codec.go index 26f9ca6f4..fce2a2ff0 100644 --- a/modules/silk/codec.go +++ b/modules/silk/codec.go @@ -14,7 +14,7 @@ import ( "github.com/pkg/errors" "github.com/wdvxdr1123/go-silk" - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/base" ) const silkCachePath = "data/cache" diff --git a/modules/silk/stubs.go b/modules/silk/stubs.go index 1b86c70fb..d8e35b1b9 100644 --- a/modules/silk/stubs.go +++ b/modules/silk/stubs.go @@ -2,7 +2,7 @@ package silk import ( - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/base" ) func init() { diff --git a/server/daemon.go b/server/daemon.go index cb0671ca3..b29b20f0c 100644 --- a/server/daemon.go +++ b/server/daemon.go @@ -9,7 +9,7 @@ import ( "strconv" "strings" - "github.com/Mrs4s/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/global" log "github.com/sirupsen/logrus" ) diff --git a/server/doc.go b/server/doc.go index 19a97b9b3..75a9329cf 100644 --- a/server/doc.go +++ b/server/doc.go @@ -1,7 +1,7 @@ // Package server 包含HTTP,WebSocket,反向WebSocket请求处理的相关函数与结构体 package server -import "github.com/Mrs4s/go-cqhttp/modules/servers" +import "github.com/sealdice/go-cqhttp/modules/servers" // 注册 func init() { diff --git a/server/http.go b/server/http.go index 9020d9851..a4a5be407 100644 --- a/server/http.go +++ b/server/http.go @@ -19,17 +19,17 @@ import ( "strings" "time" - "github.com/Mrs4s/MiraiGo/utils" + "github.com/sealdice/MiraiGo/utils" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "gopkg.in/yaml.v3" - "github.com/Mrs4s/go-cqhttp/coolq" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/modules/api" - "github.com/Mrs4s/go-cqhttp/modules/config" - "github.com/Mrs4s/go-cqhttp/modules/filter" - "github.com/Mrs4s/go-cqhttp/pkg/onebot" + "github.com/sealdice/go-cqhttp/coolq" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/modules/api" + "github.com/sealdice/go-cqhttp/modules/config" + "github.com/sealdice/go-cqhttp/modules/filter" + "github.com/sealdice/go-cqhttp/pkg/onebot" ) // HTTPServer HTTP通信相关配置 diff --git a/server/middlewares.go b/server/middlewares.go index e130cf55b..942691831 100644 --- a/server/middlewares.go +++ b/server/middlewares.go @@ -6,10 +6,10 @@ import ( "sync" "time" - "github.com/Mrs4s/go-cqhttp/coolq" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/modules/api" - "github.com/Mrs4s/go-cqhttp/pkg/onebot" + "github.com/sealdice/go-cqhttp/coolq" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/modules/api" + "github.com/sealdice/go-cqhttp/pkg/onebot" "golang.org/x/time/rate" ) diff --git a/server/scf.go b/server/scf.go index 517ff1dfc..5ed809f56 100644 --- a/server/scf.go +++ b/server/scf.go @@ -11,14 +11,14 @@ import ( "runtime/debug" "strings" - "github.com/Mrs4s/MiraiGo/utils" + "github.com/sealdice/MiraiGo/utils" log "github.com/sirupsen/logrus" "gopkg.in/yaml.v3" - "github.com/Mrs4s/go-cqhttp/coolq" - "github.com/Mrs4s/go-cqhttp/global" - api2 "github.com/Mrs4s/go-cqhttp/modules/api" - "github.com/Mrs4s/go-cqhttp/modules/config" + "github.com/sealdice/go-cqhttp/coolq" + "github.com/sealdice/go-cqhttp/global" + api2 "github.com/sealdice/go-cqhttp/modules/api" + "github.com/sealdice/go-cqhttp/modules/config" ) type lambdaClient struct { diff --git a/server/websocket.go b/server/websocket.go index b2b765c16..11c952689 100644 --- a/server/websocket.go +++ b/server/websocket.go @@ -14,18 +14,18 @@ import ( "sync" "time" - "github.com/Mrs4s/MiraiGo/utils" "github.com/RomiChan/websocket" + "github.com/sealdice/MiraiGo/utils" log "github.com/sirupsen/logrus" "github.com/tidwall/gjson" "gopkg.in/yaml.v3" - "github.com/Mrs4s/go-cqhttp/coolq" - "github.com/Mrs4s/go-cqhttp/global" - "github.com/Mrs4s/go-cqhttp/modules/api" - "github.com/Mrs4s/go-cqhttp/modules/config" - "github.com/Mrs4s/go-cqhttp/modules/filter" - "github.com/Mrs4s/go-cqhttp/pkg/onebot" + "github.com/sealdice/go-cqhttp/coolq" + "github.com/sealdice/go-cqhttp/global" + "github.com/sealdice/go-cqhttp/modules/api" + "github.com/sealdice/go-cqhttp/modules/config" + "github.com/sealdice/go-cqhttp/modules/filter" + "github.com/sealdice/go-cqhttp/pkg/onebot" ) type webSocketServer struct { diff --git a/winres/gen/json.go b/winres/gen/json.go index 415e6dc33..d24f0d44b 100644 --- a/winres/gen/json.go +++ b/winres/gen/json.go @@ -9,7 +9,7 @@ import ( "strings" "time" - "github.com/Mrs4s/go-cqhttp/internal/base" + "github.com/sealdice/go-cqhttp/internal/base" ) const js = `{ @@ -58,7 +58,7 @@ const js = `{ "0409": { "Comments": "Golang implementation of cqhttp.", "CompanyName": "Mrs4s", - "FileDescription": "https://github.com/Mrs4s/go-cqhttp", + "FileDescription": "https://github.com/sealdice/go-cqhttp", "FileVersion": "%s", "InternalName": "", "LegalCopyright": "©️ 2020 - %d Mrs4s. All Rights Reserved.", diff --git a/winres/init.go b/winres/init.go index 0b8c33ea7..5a9e458e3 100644 --- a/winres/init.go +++ b/winres/init.go @@ -1,4 +1,4 @@ // Package winres 生成windows资源 package winres -//go:generate go run github.com/Mrs4s/go-cqhttp/winres/gen +//go:generate go run github.com/sealdice/go-cqhttp/winres/gen