Skip to content

Commit

Permalink
替换
Browse files Browse the repository at this point in the history
  • Loading branch information
xxyy3130 authored Dec 25, 2024
1 parent 730d01c commit 3d31493
Show file tree
Hide file tree
Showing 23 changed files with 41 additions and 41 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

# go-cqhttp

_✨ 基于 [Mirai](https://github.com/mamoe/mirai) 以及 [MiraiGo](https://github.com/Mrs4s/MiraiGo)[OneBot](https://github.com/howmanybots/onebot/blob/master/README.md) Golang 原生实现 ✨_
_✨ 基于 [Mirai](https://github.com/mamoe/mirai) 以及 [MiraiGo](https://github.com/hwmoe/MiraiGo)[OneBot](https://github.com/howmanybots/onebot/blob/master/README.md) Golang 原生实现 ✨_


</div>
Expand Down
4 changes: 2 additions & 2 deletions cmd/gocq/login.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ import (
"strings"
"time"

"github.com/Mrs4s/MiraiGo/client"
"github.com/Mrs4s/MiraiGo/utils"
"github.com/hwmoe/MiraiGo/client"
"github.com/hwmoe/MiraiGo/utils"
"github.com/mattn/go-colorable"
"github.com/pkg/errors"
log "github.com/sirupsen/logrus"
Expand Down
6 changes: 3 additions & 3 deletions cmd/gocq/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,9 @@ import (
"sync"
"time"

"github.com/Mrs4s/MiraiGo/binary"
"github.com/Mrs4s/MiraiGo/client"
"github.com/Mrs4s/MiraiGo/wrapper"
"github.com/hwmoe/MiraiGo/binary"
"github.com/hwmoe/MiraiGo/client"
"github.com/hwmoe/MiraiGo/wrapper"
para "github.com/fumiama/go-hide-param"
rotatelogs "github.com/lestrrat-go/file-rotatelogs"
"github.com/pkg/errors"
Expand Down
2 changes: 1 addition & 1 deletion cmd/gocq/qsign.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import (
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"

"github.com/Mrs4s/MiraiGo/utils"
"github.com/hwmoe/MiraiGo/utils"

"github.com/Mrs4s/go-cqhttp/global"
"github.com/Mrs4s/go-cqhttp/internal/base"
Expand Down
8 changes: 4 additions & 4 deletions coolq/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,10 @@ 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/hwmoe/MiraiGo/binary"
"github.com/hwmoe/MiraiGo/client"
"github.com/hwmoe/MiraiGo/message"
"github.com/hwmoe/MiraiGo/utils"
"github.com/segmentio/asm/base64"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
Expand Down
8 changes: 4 additions & 4 deletions coolq/bot.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ 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/hwmoe/MiraiGo/binary"
"github.com/hwmoe/MiraiGo/client"
"github.com/hwmoe/MiraiGo/message"
"github.com/hwmoe/MiraiGo/utils"
"github.com/RomiChan/syncx"
"github.com/pkg/errors"
"github.com/segmentio/asm/base64"
Expand Down
6 changes: 3 additions & 3 deletions coolq/converter.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ import (
"strconv"
"strings"

"github.com/Mrs4s/MiraiGo/client"
"github.com/Mrs4s/MiraiGo/message"
"github.com/Mrs4s/MiraiGo/topic"
"github.com/hwmoe/MiraiGo/client"
"github.com/hwmoe/MiraiGo/message"
"github.com/hwmoe/MiraiGo/topic"
log "github.com/sirupsen/logrus"

"github.com/Mrs4s/go-cqhttp/global"
Expand Down
6 changes: 3 additions & 3 deletions coolq/cqcode.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,9 @@ import (
"strings"
"time"

"github.com/Mrs4s/MiraiGo/binary"
"github.com/Mrs4s/MiraiGo/message"
"github.com/Mrs4s/MiraiGo/utils"
"github.com/hwmoe/MiraiGo/binary"
"github.com/hwmoe/MiraiGo/message"
"github.com/hwmoe/MiraiGo/utils"
b14 "github.com/fumiama/go-base16384"
"github.com/segmentio/asm/base64"
log "github.com/sirupsen/logrus"
Expand Down
6 changes: 3 additions & 3 deletions coolq/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strconv"
"strings"

"github.com/Mrs4s/MiraiGo/binary"
"github.com/Mrs4s/MiraiGo/client"
"github.com/Mrs4s/MiraiGo/message"
"github.com/hwmoe/MiraiGo/binary"
"github.com/hwmoe/MiraiGo/client"
"github.com/hwmoe/MiraiGo/message"
log "github.com/sirupsen/logrus"

"github.com/Mrs4s/go-cqhttp/db"
Expand Down
2 changes: 1 addition & 1 deletion coolq/feed.go
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package coolq

import (
"github.com/Mrs4s/MiraiGo/topic"
"github.com/hwmoe/MiraiGo/topic"

"github.com/Mrs4s/go-cqhttp/global"
)
Expand Down
4 changes: 2 additions & 2 deletions db/leveldb/leveldb.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ package leveldb
import (
"path"

"github.com/Mrs4s/MiraiGo/binary"
"github.com/Mrs4s/MiraiGo/utils"
"github.com/hwmoe/MiraiGo/binary"
"github.com/hwmoe/MiraiGo/utils"
"github.com/pkg/errors"
"github.com/syndtr/goleveldb/leveldb"
"github.com/syndtr/goleveldb/leveldb/opt"
Expand Down
4 changes: 2 additions & 2 deletions db/sqlite3/sqlite3.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@ import (
log "github.com/sirupsen/logrus"
"gopkg.in/yaml.v3"

"github.com/Mrs4s/MiraiGo/binary"
"github.com/Mrs4s/MiraiGo/utils"
"github.com/hwmoe/MiraiGo/binary"
"github.com/hwmoe/MiraiGo/utils"

"github.com/Mrs4s/go-cqhttp/db"
)
Expand Down
2 changes: 1 addition & 1 deletion global/buffer.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package global
import (
"bytes"

"github.com/Mrs4s/MiraiGo/binary" // 和 MiraiGo 共用同一 buffer 池
"github.com/hwmoe/MiraiGo/binary" // 和 MiraiGo 共用同一 buffer 池
)

// NewBuffer 从池中获取新 bytes.Buffer
Expand Down
2 changes: 1 addition & 1 deletion global/fs.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import (
"runtime"
"strings"

"github.com/Mrs4s/MiraiGo/utils"
"github.com/hwmoe/MiraiGo/utils"
b14 "github.com/fumiama/go-base16384"
"github.com/segmentio/asm/base64"
log "github.com/sirupsen/logrus"
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ 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/hwmoe/MiraiGo v0.0.0-20230823050531-a8213e127b2b
github.com/RomiChan/syncx v0.0.0-20221202055724-5f842c53020e
github.com/RomiChan/websocket v1.4.3-0.20220227141055-9b2c6168c9c5
github.com/fumiama/go-base16384 v1.7.0
Expand Down
4 changes: 2 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ github.com/FloatTech/ttl v0.0.0-20220715042055-15612be72f5b h1:tvciXWq2nuvTbFeJG
github.com/FloatTech/ttl v0.0.0-20220715042055-15612be72f5b/go.mod h1:fHZFWGquNXuHttu9dUYoKuNbm3dzLETnIOnm1muSfDs=
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/hwmoe/MiraiGo v0.0.0-20230823050531-a8213e127b2b h1:0GG6kDFgzie0HNdlkrgPwyX4WqUjckTP1xTM4cYaC2g=
github.com/hwmoe/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=
Expand Down
2 changes: 1 addition & 1 deletion internal/msg/element.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import (
"strings"
"unicode/utf8"

"github.com/Mrs4s/MiraiGo/binary"
"github.com/hwmoe/MiraiGo/binary"
)

// @@@ CQ码转义处理 @@@
Expand Down
2 changes: 1 addition & 1 deletion internal/msg/local.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ package msg
import (
"io"

"github.com/Mrs4s/MiraiGo/message"
"github.com/hwmoe/MiraiGo/message"
)

// Poke 拍一拍
Expand Down
2 changes: 1 addition & 1 deletion internal/msg/parse_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import (
"strings"
"testing"

"github.com/Mrs4s/MiraiGo/utils"
"github.com/hwmoe/MiraiGo/utils"
"github.com/stretchr/testify/assert"
"github.com/tidwall/gjson"
)
Expand Down
2 changes: 1 addition & 1 deletion internal/selfdiagnosis/diagnoses.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
package selfdiagnosis

import (
"github.com/Mrs4s/MiraiGo/client"
"github.com/hwmoe/MiraiGo/client"
log "github.com/sirupsen/logrus"
)

Expand Down
2 changes: 1 addition & 1 deletion server/http.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"strings"
"time"

"github.com/Mrs4s/MiraiGo/utils"
"github.com/hwmoe/MiraiGo/utils"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
"gopkg.in/yaml.v3"
Expand Down
2 changes: 1 addition & 1 deletion server/scf.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
"runtime/debug"
"strings"

"github.com/Mrs4s/MiraiGo/utils"
"github.com/hwmoe/MiraiGo/utils"
log "github.com/sirupsen/logrus"
"gopkg.in/yaml.v3"

Expand Down
2 changes: 1 addition & 1 deletion server/websocket.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
"sync"
"time"

"github.com/Mrs4s/MiraiGo/utils"
"github.com/hwmoe/MiraiGo/utils"
"github.com/RomiChan/websocket"
log "github.com/sirupsen/logrus"
"github.com/tidwall/gjson"
Expand Down

0 comments on commit 3d31493

Please sign in to comment.