mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-12-05 08:03:01 +00:00
pluginkit/go.mod 增加 replace,指向 ../relaykit。之前在 pluginkit 目录 单独构建或测试(CI 与 make test 都会这样跑)时,用的是已发布的 relaykit v0.3.8,同一个 PR 里对 relaykit 的改动在这里看不到,例如新增 的转换器会报 not registered。根模块本来就把 relaykit 替换为 ./relaykit, 所以发布的二进制不受影响;外部依赖 pluginkit 时会忽略这条 replace, 仍按 require 的版本解析。
28 lines
822 B
AMPL
28 lines
822 B
AMPL
module github.com/QuantumNous/new-api/pluginkit
|
|
|
|
go 1.25.1
|
|
|
|
require (
|
|
github.com/MoeForge/moego v0.1.0-alpha.5
|
|
github.com/MoeForge/moejs v0.1.0
|
|
github.com/QuantumNous/new-api/relaykit v0.3.8
|
|
github.com/anknown/ahocorasick v0.0.0-20190904063843-d75dbd5169c0
|
|
github.com/golang-jwt/jwt/v5 v5.3.0
|
|
github.com/google/uuid v1.6.0
|
|
github.com/stretchr/testify v1.12.1
|
|
github.com/tidwall/gjson v1.19.0
|
|
github.com/tidwall/sjson v1.2.5
|
|
golang.org/x/net v0.55.0
|
|
)
|
|
|
|
require (
|
|
github.com/anknown/darts v0.0.0-20151216065714-83ff685239e6 // indirect
|
|
github.com/samber/lo v1.53.0 // indirect
|
|
github.com/tidwall/match v1.1.1 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
go.yaml.in/yaml/v3 v3.0.5 // indirect
|
|
golang.org/x/text v0.37.0 // indirect
|
|
)
|
|
|
|
replace github.com/QuantumNous/new-api/relaykit => ../relaykit
|