From 556ea50ed9e4f6cd0c7cf5342cb25186991b9a20 Mon Sep 17 00:00:00 2001 From: GCSLaoLi Date: Wed, 7 Feb 2024 18:05:26 +0800 Subject: [PATCH 1/4] =?UTF-8?q?=E5=AE=89=E5=85=A8=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 53 +++++++++++++++++++++++++++-------------------------- go.sum | 56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 83 insertions(+), 26 deletions(-) diff --git a/go.mod b/go.mod index 51c0cec..1a06939 100644 --- a/go.mod +++ b/go.mod @@ -3,15 +3,15 @@ module chatgpt-mirror-server go 1.18 require ( - github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.2 - github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.2 - github.com/cool-team-official/cool-admin-go/cool v1.5.2 - github.com/cool-team-official/cool-admin-go/modules/base v1.5.2 - github.com/cool-team-official/cool-admin-go/modules/dict v1.5.2 - github.com/cool-team-official/cool-admin-go/modules/space v1.5.2 - github.com/cool-team-official/cool-admin-go/modules/task v1.5.2 - github.com/gogf/gf/contrib/nosql/redis/v2 v2.5.6 - github.com/gogf/gf/v2 v2.5.6 + github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.7 + github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.7 + github.com/cool-team-official/cool-admin-go/cool v1.5.7 + github.com/cool-team-official/cool-admin-go/modules/base v1.5.8 + github.com/cool-team-official/cool-admin-go/modules/dict v1.5.7 + github.com/cool-team-official/cool-admin-go/modules/space v1.5.7 + github.com/cool-team-official/cool-admin-go/modules/task v1.5.7 + github.com/gogf/gf/contrib/nosql/redis/v2 v2.6.3 + github.com/gogf/gf/v2 v2.6.3 ) require ( @@ -23,40 +23,41 @@ require ( github.com/dustin/go-humanize v1.0.1 // indirect github.com/fatih/color v1.16.0 // indirect github.com/fsnotify/fsnotify v1.7.0 // indirect - github.com/glebarez/go-sqlite v1.21.2 // indirect + github.com/glebarez/go-sqlite v1.22.0 // indirect github.com/glebarez/sqlite v1.10.0 // indirect - github.com/go-logr/logr v1.3.0 // indirect + github.com/go-logr/logr v1.4.1 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-sql-driver/mysql v1.7.1 // indirect github.com/gogf/gf v1.16.9 // indirect - github.com/gogf/gf/contrib/drivers/mysql/v2 v2.5.6 // indirect + github.com/gogf/gf/contrib/drivers/mysql/v2 v2.6.3 // indirect github.com/golang-jwt/jwt/v4 v4.5.0 // indirect - github.com/google/uuid v1.4.0 // indirect + github.com/google/uuid v1.6.0 // indirect github.com/gorilla/websocket v1.5.1 // indirect - github.com/grokify/html-strip-tags-go v0.0.1 // indirect + github.com/grokify/html-strip-tags-go v0.1.0 // indirect github.com/jinzhu/inflection v1.0.0 // indirect github.com/jinzhu/now v1.1.5 // indirect github.com/magiconair/properties v1.8.7 // indirect github.com/mattn/go-colorable v0.1.13 // indirect github.com/mattn/go-isatty v0.0.20 // indirect github.com/mattn/go-runewidth v0.0.15 // indirect + github.com/ncruces/go-strftime v0.1.9 // indirect github.com/olekukonko/tablewriter v0.0.5 // indirect - github.com/redis/go-redis/v9 v9.3.0 // indirect + github.com/redis/go-redis/v9 v9.4.0 // indirect github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect - github.com/rivo/uniseg v0.4.4 // indirect + github.com/rivo/uniseg v0.4.6 // indirect github.com/robfig/cron v1.2.0 // indirect - go.opentelemetry.io/otel v1.19.0 // indirect - go.opentelemetry.io/otel/metric v1.19.0 // indirect - go.opentelemetry.io/otel/sdk v1.19.0 // indirect - go.opentelemetry.io/otel/trace v1.19.0 // indirect - golang.org/x/net v0.17.0 // indirect - golang.org/x/sys v0.14.0 // indirect + go.opentelemetry.io/otel v1.23.0 // indirect + go.opentelemetry.io/otel/metric v1.23.0 // indirect + go.opentelemetry.io/otel/sdk v1.23.0 // indirect + go.opentelemetry.io/otel/trace v1.23.0 // indirect + golang.org/x/net v0.20.0 // indirect + golang.org/x/sys v0.16.0 // indirect golang.org/x/text v0.14.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect - gorm.io/driver/mysql v1.5.2 // indirect - gorm.io/gorm v1.25.5 // indirect - modernc.org/libc v1.30.0 // indirect + gorm.io/driver/mysql v1.5.4 // indirect + gorm.io/gorm v1.25.7 // indirect + modernc.org/libc v1.41.0 // indirect modernc.org/mathutil v1.6.0 // indirect modernc.org/memory v1.7.2 // indirect - modernc.org/sqlite v1.27.0 // indirect + modernc.org/sqlite v1.28.0 // indirect ) diff --git a/go.sum b/go.sum index 09f996f..7d5ca90 100644 --- a/go.sum +++ b/go.sum @@ -11,18 +11,32 @@ github.com/clbanning/mxj/v2 v2.7.0 h1:WA/La7UGCanFe5NpHF0Q3DNtnCsVoxbPKuyBNHWRyM github.com/clbanning/mxj/v2 v2.7.0/go.mod h1:hNiWqW14h+kc+MdF9C6/YoRfjEJoR3ou6tn/Qo+ve2s= github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.2 h1:XsefD6Y0SMQVKfimf4y9QDOMTq4zpA74i6uVDB9X4O8= github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.2/go.mod h1:bCpTMckGN9b5NeXdknlDs/5TPb/+Nr6LV/LyuQ15fkQ= +github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.7 h1:rgiUeoGf2CPLqaO4ul3vinAll+eYgeL2cqohGYSQKYo= +github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.7/go.mod h1:gihySQ7aDChoGV+vYyoFEl/cAE/2fPgTe3YTOGYFbcU= github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.2 h1:D/fEgZZtP13RoaYt6nbyqNVrycptTZT7xg/Pn4Xyws8= github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.2/go.mod h1:S/hKSI84E4+dqSllaYJA+OjvPcqGw5lE7QEDnNkAvmg= +github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.7 h1:yiwWuwWfN/GKm5dH1NUNXWpDJ2svS54M9aqhb9e5tPg= +github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.7/go.mod h1:Z4zVwG61vljT1Mh4MLnv9LCw1vKkuQs0aln+dM8g4JI= github.com/cool-team-official/cool-admin-go/cool v1.5.2 h1:lBam1rrGoEaVP5nVZxu3p7aE6SENFMYWIIgkiWg6iGc= github.com/cool-team-official/cool-admin-go/cool v1.5.2/go.mod h1:hhSpTn/7XZylk8F/tyD8azsnG8mdglZu7qzQ6o8x4HA= +github.com/cool-team-official/cool-admin-go/cool v1.5.7 h1:zNLo2eGT34Itm46E7rEarA9Clz2CRUFdCx+NNoPM1RU= +github.com/cool-team-official/cool-admin-go/cool v1.5.7/go.mod h1:R5/8pYMwmWHjQ9AmJr6vURIVhGCZz8p7LxpTtPZavjA= github.com/cool-team-official/cool-admin-go/modules/base v1.5.2 h1:ROb+QHRzZRCbzu8k5dq6Ec10GfGkezXw0mCwlcKMofE= github.com/cool-team-official/cool-admin-go/modules/base v1.5.2/go.mod h1:m/WD028FaRPKs0gXMorqNFtByb4fQ02C6uQPoZmhnXw= +github.com/cool-team-official/cool-admin-go/modules/base v1.5.8 h1:b2cBJ5EdTr96i7mjyvdpwqS5iv2JN2n4jAmIzff9sbA= +github.com/cool-team-official/cool-admin-go/modules/base v1.5.8/go.mod h1:3TCq3YKnOB8gcPBNrsNSWF4tnIUX+VMokcFWE6ldpbY= github.com/cool-team-official/cool-admin-go/modules/dict v1.5.2 h1:K0fn/pNfu23CoeEQKY7Idz0arWXi/u3u0yyAdesXBAI= github.com/cool-team-official/cool-admin-go/modules/dict v1.5.2/go.mod h1:gn4F98hze5sJsvFtP8InziFS+2NPCWwZ1ms3iIRTLgQ= +github.com/cool-team-official/cool-admin-go/modules/dict v1.5.7 h1:O+uqvQQl6fwJKHJ2+Ds+k/J7gZgUIQa9jTUdx7eFxF8= +github.com/cool-team-official/cool-admin-go/modules/dict v1.5.7/go.mod h1:VmvPowbJtSlrAd2rGzLRx6xRzySic5As8E9cwiGtUo4= github.com/cool-team-official/cool-admin-go/modules/space v1.5.2 h1:5Hugo6RZyH80BVKlL1gsWKSlzG0dCF41BXKgMgfp0ek= github.com/cool-team-official/cool-admin-go/modules/space v1.5.2/go.mod h1:C/GyIVjFnEIPwrd6f6EgPWFCcVaNiKuMdMNNlmXy//8= +github.com/cool-team-official/cool-admin-go/modules/space v1.5.7 h1:XoI+odJYiN/sJnzpiJQMY5SLPPZz7tKL7q+9jIeOmfE= +github.com/cool-team-official/cool-admin-go/modules/space v1.5.7/go.mod h1:hT8Q41CWpldlTAKfjOloKBR7OojH/FwKkDmtqJXxFkk= github.com/cool-team-official/cool-admin-go/modules/task v1.5.2 h1:RkibXD+Q8QiqXGpaRGeNcmVIOqiOUPgXULVTLYj91Kk= github.com/cool-team-official/cool-admin-go/modules/task v1.5.2/go.mod h1:SXr610catGUO1h8hbv6KQmo3XKu+eCFlr+Bs7leVRLA= +github.com/cool-team-official/cool-admin-go/modules/task v1.5.7 h1:blKYv9bzR64bBfrc2rbLUUkj0qus9W4ceBYyTf7lcAM= +github.com/cool-team-official/cool-admin-go/modules/task v1.5.7/go.mod h1:KH0Nv2GH/e5QQoCVlLmywlL3HIVzkaG2iWNToIOcj7E= github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= @@ -37,11 +51,15 @@ github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nos github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= github.com/glebarez/go-sqlite v1.21.2 h1:3a6LFC4sKahUunAmynQKLZceZCOzUthkRkEAl9gAXWo= github.com/glebarez/go-sqlite v1.21.2/go.mod h1:sfxdZyhQjTM2Wry3gVYWaW072Ri1WMdWJi0k6+3382k= +github.com/glebarez/go-sqlite v1.22.0 h1:uAcMJhaA6r3LHMTFgP0SifzgXg46yJkgxqyuyec+ruQ= +github.com/glebarez/go-sqlite v1.22.0/go.mod h1:PlBIdHe0+aUEFn+r2/uthrWq4FxbzugL0L8Li6yQJbc= github.com/glebarez/sqlite v1.10.0 h1:u4gt8y7OND/cCei/NMHmfbLxF6xP2wgKcT/BJf2pYkc= github.com/glebarez/sqlite v1.10.0/go.mod h1:IJ+lfSOmiekhQsFTJRx/lHtGYmCdtAiTaf5wI9u5uHA= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= +github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= +github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= @@ -52,24 +70,35 @@ github.com/gogf/gf v1.16.9 h1:Q803UmmRo59+Ws08sMVFOcd8oNpkSWL9vS33hlo/Cyk= github.com/gogf/gf v1.16.9/go.mod h1:8Q/kw05nlVRp+4vv7XASBsMe9L1tsVKiGoeP2AHnlkk= github.com/gogf/gf/contrib/drivers/mysql/v2 v2.5.6 h1:oR9F4LVoKa/fjf/o6Y/CQRNiYy35Bszo07WwvMWYMxo= github.com/gogf/gf/contrib/drivers/mysql/v2 v2.5.6/go.mod h1:gvHSRqCpv2c+N0gDHsEldHgU/yM9tcCBdIEKZ32/TaE= +github.com/gogf/gf/contrib/drivers/mysql/v2 v2.6.3 h1:dRGGKKiT9FEnxhfHFerojy34uCKHgReKgpMbAOtqhsY= +github.com/gogf/gf/contrib/drivers/mysql/v2 v2.6.3/go.mod h1:sGdaCPgN1AY0tho+WYAgYdUHJkXwuDf76M3ASgHXWRQ= github.com/gogf/gf/contrib/nosql/redis/v2 v2.5.6 h1:JPhmDok7Q85TB2TOJhhJUz3U3U/4GUES1SXhuSnwjSw= github.com/gogf/gf/contrib/nosql/redis/v2 v2.5.6/go.mod h1:gwY76zchpp+xhS+akLTORyMGkI3CXA1CoQFeS3PeF4w= +github.com/gogf/gf/contrib/nosql/redis/v2 v2.6.3 h1:tbN3rYVSi5MfCS5qAaZ1Xg3fSsyHeT++tJZqEiH1s4c= +github.com/gogf/gf/contrib/nosql/redis/v2 v2.6.3/go.mod h1:2+evGu1xAlamaYuDdSqa7QCiwPTm1RrGsUFSMc8PyLc= github.com/gogf/gf/v2 v2.5.6 h1:a1UK1yUP3s+l+vPxmV91+8gTarAP9b1IEOw0W7LNl6E= github.com/gogf/gf/v2 v2.5.6/go.mod h1:17K/gBYrp0bHGC3XYC7bSPoywmZ6MrZHrZakTfh4eIQ= +github.com/gogf/gf/v2 v2.6.3 h1:DoqeuwU98wotpFoDSQEx8RZbmJdK8KdGiJtzJeqpyIo= +github.com/gogf/gf/v2 v2.6.3/go.mod h1:x2XONYcI4hRQ/4gMNbWHmZrNzSEIg20s2NULbzom5k0= github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= github.com/gomodule/redigo v1.8.5 h1:nRAxCa+SVsyjSBrtZmG/cqb6VbTmuRzpg/PoTFlpumc= github.com/gomodule/redigo v1.8.5/go.mod h1:P9dn9mFrCBvWhGE1wpxx6fgq7BAeLBk+UUUzlpkBYO0= github.com/google/go-cmp v0.5.6/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.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= +github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= +github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= github.com/grokify/html-strip-tags-go v0.0.1 h1:0fThFwLbW7P/kOiTBs03FsJSV9RM2M/Q/MOnCQxKMo0= github.com/grokify/html-strip-tags-go v0.0.1/go.mod h1:2Su6romC5/1VXOQMaWL2yb618ARB8iVo6/DR99A6d78= +github.com/grokify/html-strip-tags-go v0.1.0 h1:03UrQLjAny8xci+R+qjCce/MYnpNXCtgzltlQbOBae4= +github.com/grokify/html-strip-tags-go v0.1.0/go.mod h1:ZdzgfHEzAfz9X6Xe5eBLVblWIxXfYSQ40S/VKrAOGpc= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= github.com/jinzhu/inflection v1.0.0/go.mod h1:h+uFLlag+Qp1Va5pdKtLDYj+kHp5pxUVkryuEj+Srlc= github.com/jinzhu/now v1.1.5 h1:/o9tlHleP7gOFmsnYNz3RGnqzefHA47wQpKrrdTIwXQ= @@ -88,17 +117,23 @@ github.com/mattn/go-isatty v0.0.20/go.mod h1:W+V8PltTTMOvKvAeJH7IuucS94S2C6jfK/D github.com/mattn/go-runewidth v0.0.9/go.mod h1:H031xJmbD/WCDINGzjvQ9THkh0rPKHF+m2gUSrubnMI= github.com/mattn/go-runewidth v0.0.15 h1:UNAjwbU9l54TA3KzvqLGxwWjHmMgBUVhBiTjelZgg3U= github.com/mattn/go-runewidth v0.0.15/go.mod h1:Jdepj2loyihRzMpdS35Xk/zdY8IAYHsh153qUoGf23w= +github.com/ncruces/go-strftime v0.1.9 h1:bY0MQC28UADQmHmaF5dgpLmImcShSi2kHU9XLdhx/f4= +github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJmn9CehxcKcls= github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= github.com/redis/go-redis/v9 v9.3.0 h1:RiVDjmig62jIWp7Kk4XVLs0hzV6pI3PyTnnL0cnn0u0= github.com/redis/go-redis/v9 v9.3.0/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M= +github.com/redis/go-redis/v9 v9.4.0 h1:Yzoz33UZw9I/mFhx4MNrB6Fk+XHO1VukNcCa1+lwyKk= +github.com/redis/go-redis/v9 v9.4.0/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/rivo/uniseg v0.4.6 h1:Sovz9sDSwbOz9tgUy8JpT+KgCkPYJEN/oYzlJiYTNLg= +github.com/rivo/uniseg v0.4.6/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/robfig/cron v1.2.0 h1:ZjScXvvxeQ63Dbyxy76Fj3AT3Ut0aKsyd2/tl3DTMuQ= github.com/robfig/cron v1.2.0/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k= github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= @@ -109,16 +144,26 @@ github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcU go.opentelemetry.io/otel v1.0.0/go.mod h1:AjRVh9A5/5DE7S+mZtTR6t8vpKKryam+0lREnfmS4cg= go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs= go.opentelemetry.io/otel v1.19.0/go.mod h1:i0QyjOq3UPoTzff0PJB2N66fb4S0+rSbSB15/oyH9fY= +go.opentelemetry.io/otel v1.23.0 h1:Df0pqjqExIywbMCMTxkAwzjLZtRf+bBKLbUcpxO2C9E= +go.opentelemetry.io/otel v1.23.0/go.mod h1:YCycw9ZeKhcJFrb34iVSkyT0iczq/zYDtZYFufObyB0= go.opentelemetry.io/otel/metric v1.19.0 h1:aTzpGtV0ar9wlV4Sna9sdJyII5jTVJEvKETPiOKwvpE= go.opentelemetry.io/otel/metric v1.19.0/go.mod h1:L5rUsV9kM1IxCj1MmSdS+JQAcVm319EUrDVLrt7jqt8= +go.opentelemetry.io/otel/metric v1.23.0 h1:pazkx7ss4LFVVYSxYew7L5I6qvLXHA0Ap2pwV+9Cnpo= +go.opentelemetry.io/otel/metric v1.23.0/go.mod h1:MqUW2X2a6Q8RN96E2/nqNoT+z9BSms20Jb7Bbp+HiTo= go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJi3o= go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+GfzpjUvI0v1A= +go.opentelemetry.io/otel/sdk v1.23.0 h1:0KM9Zl2esnl+WSukEmlaAEjVY5HDZANOHferLq36BPc= +go.opentelemetry.io/otel/sdk v1.23.0/go.mod h1:wUscup7byToqyKJSilEtMf34FgdCAsFpFOjXnAwFfO0= go.opentelemetry.io/otel/trace v1.0.0/go.mod h1:PXTWqayeFUlJV1YDNhsJYB184+IvAH814St6o6ajzIs= go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= +go.opentelemetry.io/otel/trace v1.23.0 h1:37Ik5Ib7xfYVb4V1UtnT97T1jI+AoIYkJyPkuL4iJgI= +go.opentelemetry.io/otel/trace v1.23.0/go.mod h1:GSGTbIClEsuZrGIzoEHqsVfxgn5UkggkflQwDScNUsk= golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= +golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= +golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= @@ -128,6 +173,8 @@ golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBc golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= +golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= +golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= golang.org/x/text v0.14.0 h1:ScX5w1eTa3QqT8oi6+ziP7dTV1S2+ALU0bI+0zXKWiQ= @@ -143,14 +190,23 @@ gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gorm.io/driver/mysql v1.5.2 h1:QC2HRskSE75wBuOxe0+iCkyJZ+RqpudsQtqkp+IMuXs= gorm.io/driver/mysql v1.5.2/go.mod h1:pQLhh1Ut/WUAySdTHwBpBv6+JKcj+ua4ZFx1QQTBzb8= +gorm.io/driver/mysql v1.5.4 h1:igQmHfKcbaTVyAIHNhhB888vvxh8EdQ2uSUT0LPcBso= +gorm.io/driver/mysql v1.5.4/go.mod h1:9rYxJph/u9SWkWc9yY4XJ1F/+xO0S/ChOmbk3+Z5Tvs= gorm.io/gorm v1.25.2-0.20230530020048-26663ab9bf55/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k= gorm.io/gorm v1.25.5 h1:zR9lOiiYf09VNh5Q1gphfyia1JpiClIWG9hQaxB/mls= gorm.io/gorm v1.25.5/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= +gorm.io/gorm v1.25.7-0.20240204074919-46816ad31dde/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= +gorm.io/gorm v1.25.7 h1:VsD6acwRjz2zFxGO50gPO6AkNs7KKnvfzUjHQhZDz/A= +gorm.io/gorm v1.25.7/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= modernc.org/libc v1.30.0 h1:tw+o+UObwSE4Bfu3+Ztz9NW/Olqp7nTL/vcaEY/x4rc= modernc.org/libc v1.30.0/go.mod h1:SUKVISl2sU6aasM35Y0v4SsSBTt89uDKrvxgXkvsC/4= +modernc.org/libc v1.41.0 h1:g9YAc6BkKlgORsUWj+JwqoB1wU3o4DE3bM3yvA3k+Gk= +modernc.org/libc v1.41.0/go.mod h1:w0eszPsiXoOnoMJgrXjglgLuDy/bt5RR4y3QzUUeodY= modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= modernc.org/memory v1.7.2 h1:Klh90S215mmH8c9gO98QxQFsY+W451E8AnzjoE2ee1E= modernc.org/memory v1.7.2/go.mod h1:NO4NVCQy0N7ln+T9ngWqOQfi7ley4vpwvARR+Hjw95E= modernc.org/sqlite v1.27.0 h1:MpKAHoyYB7xqcwnUwkuD+npwEa0fojF0B5QRbN+auJ8= modernc.org/sqlite v1.27.0/go.mod h1:Qxpazz0zH8Z1xCFyi5GSL3FzbtZ3fvbjmywNogldEW0= +modernc.org/sqlite v1.28.0 h1:Zx+LyDDmXczNnEQdvPuEfcFVA2ZPyaD7UCZDjef3BHQ= +modernc.org/sqlite v1.28.0/go.mod h1:Qxpazz0zH8Z1xCFyi5GSL3FzbtZ3fvbjmywNogldEW0= From a7b6565076430cd5ea9a43c6ea0112c6795d3718 Mon Sep 17 00:00:00 2001 From: GCSLaoLi Date: Sat, 17 Feb 2024 01:16:49 +0800 Subject: [PATCH 2/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- go.mod | 32 ++++++------- go.sum | 148 ++++++++++++--------------------------------------------- 2 files changed, 45 insertions(+), 135 deletions(-) diff --git a/go.mod b/go.mod index 1a06939..455f242 100644 --- a/go.mod +++ b/go.mod @@ -3,13 +3,13 @@ module chatgpt-mirror-server go 1.18 require ( - github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.7 - github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.7 - github.com/cool-team-official/cool-admin-go/cool v1.5.7 - github.com/cool-team-official/cool-admin-go/modules/base v1.5.8 - github.com/cool-team-official/cool-admin-go/modules/dict v1.5.7 - github.com/cool-team-official/cool-admin-go/modules/space v1.5.7 - github.com/cool-team-official/cool-admin-go/modules/task v1.5.7 + github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.9 + github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.9 + github.com/cool-team-official/cool-admin-go/cool v1.5.9 + github.com/cool-team-official/cool-admin-go/modules/base v1.5.9 + github.com/cool-team-official/cool-admin-go/modules/dict v1.5.9 + github.com/cool-team-official/cool-admin-go/modules/space v1.5.9 + github.com/cool-team-official/cool-admin-go/modules/task v1.5.9 github.com/gogf/gf/contrib/nosql/redis/v2 v2.6.3 github.com/gogf/gf/v2 v2.6.3 ) @@ -17,7 +17,6 @@ require ( require ( github.com/BurntSushi/toml v1.3.2 // indirect github.com/cespare/xxhash/v2 v2.2.0 // indirect - github.com/clbanning/mxj v1.8.5-0.20200714211355-ff02cfb8ea28 // indirect github.com/clbanning/mxj/v2 v2.7.0 // indirect github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f // indirect github.com/dustin/go-humanize v1.0.1 // indirect @@ -28,7 +27,6 @@ require ( github.com/go-logr/logr v1.4.1 // indirect github.com/go-logr/stdr v1.2.2 // indirect github.com/go-sql-driver/mysql v1.7.1 // indirect - github.com/gogf/gf v1.16.9 // indirect github.com/gogf/gf/contrib/drivers/mysql/v2 v2.6.3 // indirect github.com/golang-jwt/jwt/v4 v4.5.0 // indirect github.com/google/uuid v1.6.0 // indirect @@ -44,14 +42,14 @@ require ( github.com/olekukonko/tablewriter v0.0.5 // indirect github.com/redis/go-redis/v9 v9.4.0 // indirect github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect - github.com/rivo/uniseg v0.4.6 // indirect + github.com/rivo/uniseg v0.4.7 // indirect github.com/robfig/cron v1.2.0 // indirect - go.opentelemetry.io/otel v1.23.0 // indirect - go.opentelemetry.io/otel/metric v1.23.0 // indirect - go.opentelemetry.io/otel/sdk v1.23.0 // indirect - go.opentelemetry.io/otel/trace v1.23.0 // indirect - golang.org/x/net v0.20.0 // indirect - golang.org/x/sys v0.16.0 // indirect + go.opentelemetry.io/otel v1.23.1 // indirect + go.opentelemetry.io/otel/metric v1.23.1 // indirect + go.opentelemetry.io/otel/sdk v1.23.1 // indirect + go.opentelemetry.io/otel/trace v1.23.1 // indirect + golang.org/x/net v0.21.0 // indirect + golang.org/x/sys v0.17.0 // indirect golang.org/x/text v0.14.0 // indirect gopkg.in/yaml.v3 v3.0.1 // indirect gorm.io/driver/mysql v1.5.4 // indirect @@ -59,5 +57,5 @@ require ( modernc.org/libc v1.41.0 // indirect modernc.org/mathutil v1.6.0 // indirect modernc.org/memory v1.7.2 // indirect - modernc.org/sqlite v1.28.0 // indirect + modernc.org/sqlite v1.29.1 // indirect ) diff --git a/go.sum b/go.sum index 7d5ca90..6ac158d 100644 --- a/go.sum +++ b/go.sum @@ -1,102 +1,60 @@ -github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/BurntSushi/toml v1.3.2 h1:o7IhLm0Msx3BaB+n3Ag7L8EVlByGnpq14C4YWiu/gL8= github.com/BurntSushi/toml v1.3.2/go.mod h1:CxXYINrC8qIiEnFrOxCa7Jy5BFHlXnUU2pbicEuybxQ= github.com/bsm/ginkgo/v2 v2.12.0 h1:Ny8MWAHyOepLGlLKYmXG4IEkioBysk6GpaRTLC8zwWs= github.com/bsm/gomega v1.27.10 h1:yeMWxP2pV2fG3FgAODIY8EiRE3dy0aeFYt4l7wh6yKA= github.com/cespare/xxhash/v2 v2.2.0 h1:DC2CZ1Ep5Y4k3ZQ899DldepgrayRUGE6BBZ/cd9Cj44= github.com/cespare/xxhash/v2 v2.2.0/go.mod h1:VGX0DQ3Q6kWi7AoAeZDth3/j3BFtOZR5XLFGgcrjCOs= -github.com/clbanning/mxj v1.8.5-0.20200714211355-ff02cfb8ea28 h1:LdXxtjzvZYhhUaonAaAKArG3pyC67kGL3YY+6hGG8G4= -github.com/clbanning/mxj v1.8.5-0.20200714211355-ff02cfb8ea28/go.mod h1:BVjHeAH+rl9rs6f+QIpeRl0tfu10SXn1pUSa5PVGJng= github.com/clbanning/mxj/v2 v2.7.0 h1:WA/La7UGCanFe5NpHF0Q3DNtnCsVoxbPKuyBNHWRyME= github.com/clbanning/mxj/v2 v2.7.0/go.mod h1:hNiWqW14h+kc+MdF9C6/YoRfjEJoR3ou6tn/Qo+ve2s= -github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.2 h1:XsefD6Y0SMQVKfimf4y9QDOMTq4zpA74i6uVDB9X4O8= -github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.2/go.mod h1:bCpTMckGN9b5NeXdknlDs/5TPb/+Nr6LV/LyuQ15fkQ= -github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.7 h1:rgiUeoGf2CPLqaO4ul3vinAll+eYgeL2cqohGYSQKYo= -github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.7/go.mod h1:gihySQ7aDChoGV+vYyoFEl/cAE/2fPgTe3YTOGYFbcU= -github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.2 h1:D/fEgZZtP13RoaYt6nbyqNVrycptTZT7xg/Pn4Xyws8= -github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.2/go.mod h1:S/hKSI84E4+dqSllaYJA+OjvPcqGw5lE7QEDnNkAvmg= -github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.7 h1:yiwWuwWfN/GKm5dH1NUNXWpDJ2svS54M9aqhb9e5tPg= -github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.7/go.mod h1:Z4zVwG61vljT1Mh4MLnv9LCw1vKkuQs0aln+dM8g4JI= -github.com/cool-team-official/cool-admin-go/cool v1.5.2 h1:lBam1rrGoEaVP5nVZxu3p7aE6SENFMYWIIgkiWg6iGc= -github.com/cool-team-official/cool-admin-go/cool v1.5.2/go.mod h1:hhSpTn/7XZylk8F/tyD8azsnG8mdglZu7qzQ6o8x4HA= -github.com/cool-team-official/cool-admin-go/cool v1.5.7 h1:zNLo2eGT34Itm46E7rEarA9Clz2CRUFdCx+NNoPM1RU= -github.com/cool-team-official/cool-admin-go/cool v1.5.7/go.mod h1:R5/8pYMwmWHjQ9AmJr6vURIVhGCZz8p7LxpTtPZavjA= -github.com/cool-team-official/cool-admin-go/modules/base v1.5.2 h1:ROb+QHRzZRCbzu8k5dq6Ec10GfGkezXw0mCwlcKMofE= -github.com/cool-team-official/cool-admin-go/modules/base v1.5.2/go.mod h1:m/WD028FaRPKs0gXMorqNFtByb4fQ02C6uQPoZmhnXw= -github.com/cool-team-official/cool-admin-go/modules/base v1.5.8 h1:b2cBJ5EdTr96i7mjyvdpwqS5iv2JN2n4jAmIzff9sbA= -github.com/cool-team-official/cool-admin-go/modules/base v1.5.8/go.mod h1:3TCq3YKnOB8gcPBNrsNSWF4tnIUX+VMokcFWE6ldpbY= -github.com/cool-team-official/cool-admin-go/modules/dict v1.5.2 h1:K0fn/pNfu23CoeEQKY7Idz0arWXi/u3u0yyAdesXBAI= -github.com/cool-team-official/cool-admin-go/modules/dict v1.5.2/go.mod h1:gn4F98hze5sJsvFtP8InziFS+2NPCWwZ1ms3iIRTLgQ= -github.com/cool-team-official/cool-admin-go/modules/dict v1.5.7 h1:O+uqvQQl6fwJKHJ2+Ds+k/J7gZgUIQa9jTUdx7eFxF8= -github.com/cool-team-official/cool-admin-go/modules/dict v1.5.7/go.mod h1:VmvPowbJtSlrAd2rGzLRx6xRzySic5As8E9cwiGtUo4= -github.com/cool-team-official/cool-admin-go/modules/space v1.5.2 h1:5Hugo6RZyH80BVKlL1gsWKSlzG0dCF41BXKgMgfp0ek= -github.com/cool-team-official/cool-admin-go/modules/space v1.5.2/go.mod h1:C/GyIVjFnEIPwrd6f6EgPWFCcVaNiKuMdMNNlmXy//8= -github.com/cool-team-official/cool-admin-go/modules/space v1.5.7 h1:XoI+odJYiN/sJnzpiJQMY5SLPPZz7tKL7q+9jIeOmfE= -github.com/cool-team-official/cool-admin-go/modules/space v1.5.7/go.mod h1:hT8Q41CWpldlTAKfjOloKBR7OojH/FwKkDmtqJXxFkk= -github.com/cool-team-official/cool-admin-go/modules/task v1.5.2 h1:RkibXD+Q8QiqXGpaRGeNcmVIOqiOUPgXULVTLYj91Kk= -github.com/cool-team-official/cool-admin-go/modules/task v1.5.2/go.mod h1:SXr610catGUO1h8hbv6KQmo3XKu+eCFlr+Bs7leVRLA= -github.com/cool-team-official/cool-admin-go/modules/task v1.5.7 h1:blKYv9bzR64bBfrc2rbLUUkj0qus9W4ceBYyTf7lcAM= -github.com/cool-team-official/cool-admin-go/modules/task v1.5.7/go.mod h1:KH0Nv2GH/e5QQoCVlLmywlL3HIVzkaG2iWNToIOcj7E= -github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38= +github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.9 h1:0Ap5BPKBWOOPOZGqxdNaLZNjMWWmnMzwzGxF3mn5QmE= +github.com/cool-team-official/cool-admin-go/contrib/drivers/mysql v1.5.9/go.mod h1:iK+hypjVYsArvkxXBoKtRgaWZnfxHdvcxvyDX5+iG5M= +github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.9 h1:9f51nGT/diB60iLfu3A+E0MrUzA4ZA1Hl8w+Agchxo8= +github.com/cool-team-official/cool-admin-go/contrib/drivers/sqlite v1.5.9/go.mod h1:tD5FatihcvSbrGwQlp3agE/Qd+jI3gh3jH+HEVIr4Vs= +github.com/cool-team-official/cool-admin-go/cool v1.5.9 h1:mvZkckumdnhkr8BGRbB+FKmUeP3tbxmyvSxfNyZAlhE= +github.com/cool-team-official/cool-admin-go/cool v1.5.9/go.mod h1:kle9oSJM+yl8ZtQwZFL8PWbz7ByI8Glj1431njGbWPo= +github.com/cool-team-official/cool-admin-go/modules/base v1.5.9 h1:ACMG2cPXEzv4mecLjdmrksbzsnMTAQMikAJ5cqW9C6c= +github.com/cool-team-official/cool-admin-go/modules/base v1.5.9/go.mod h1:1fUZ3glOA7W69542E3yTvKRGio3rqaBKpO3hJCrY3QM= +github.com/cool-team-official/cool-admin-go/modules/dict v1.5.9 h1:QGZczs/m7es4OwSUubchx3WbrsOLNv85V9B8h2c2ZDU= +github.com/cool-team-official/cool-admin-go/modules/dict v1.5.9/go.mod h1:ZXhaYRk7LjTwSvxifbQ/mY++U+jP3Zxz0uEvUpE4ucQ= +github.com/cool-team-official/cool-admin-go/modules/space v1.5.9 h1:LtWNSMRqmHx6uT/gV0OaYPfsGjAAQbBcqLt8mJJI0HE= +github.com/cool-team-official/cool-admin-go/modules/space v1.5.9/go.mod h1:KupUb4ZP+IAwUPTVUJpfq6Ap6jcdUMitNazIj53CR4c= +github.com/cool-team-official/cool-admin-go/modules/task v1.5.9 h1:vZuI37cEeU7l1HXgysaovLYqHqkkV1ufZepxKmIdGtU= +github.com/cool-team-official/cool-admin-go/modules/task v1.5.9/go.mod h1:42KqMzEFoJk62hD9klhMDW1thn0072AQzDUyfZL4mFg= github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f h1:lO4WD4F/rVNCu3HqELle0jiPLLBs70cWOduZpkS1E78= github.com/dgryski/go-rendezvous v0.0.0-20200823014737-9f7001d12a5f/go.mod h1:cuUVRXasLTGF7a8hSLbxyZXjz+1KgoB3wDUb6vlszIc= github.com/dustin/go-humanize v1.0.1 h1:GzkhY7T5VNhEkwH0PVJgjz+fX1rhBrR7pRT3mDkpeCY= github.com/dustin/go-humanize v1.0.1/go.mod h1:Mu1zIs6XwVuF/gI1OepvI0qD18qycQx+mFykh5fBlto= -github.com/fatih/color v1.12.0/go.mod h1:ELkj/draVOlAH/xkhN6mQ50Qd0MPOk5AAr3maGEBuJM= github.com/fatih/color v1.16.0 h1:zmkK9Ngbjj+K0yRhTVONQh1p/HknKYSlNT+vZCzyokM= github.com/fatih/color v1.16.0/go.mod h1:fL2Sau1YI5c0pdGEVCbKQbLXB6edEj1ZgiY4NijnWvE= -github.com/fsnotify/fsnotify v1.4.9/go.mod h1:znqG4EE+3YCdAaPaxE2ZRY/06pZUdp0tY4IgpuI1SZQ= github.com/fsnotify/fsnotify v1.7.0 h1:8JEhPFa5W2WU7YfeZzPNqzMP6Lwt7L2715Ggo0nosvA= github.com/fsnotify/fsnotify v1.7.0/go.mod h1:40Bi/Hjc2AVfZrqy+aj+yEI+/bRxZnMJyTJwOpGvigM= -github.com/glebarez/go-sqlite v1.21.2 h1:3a6LFC4sKahUunAmynQKLZceZCOzUthkRkEAl9gAXWo= -github.com/glebarez/go-sqlite v1.21.2/go.mod h1:sfxdZyhQjTM2Wry3gVYWaW072Ri1WMdWJi0k6+3382k= github.com/glebarez/go-sqlite v1.22.0 h1:uAcMJhaA6r3LHMTFgP0SifzgXg46yJkgxqyuyec+ruQ= github.com/glebarez/go-sqlite v1.22.0/go.mod h1:PlBIdHe0+aUEFn+r2/uthrWq4FxbzugL0L8Li6yQJbc= github.com/glebarez/sqlite v1.10.0 h1:u4gt8y7OND/cCei/NMHmfbLxF6xP2wgKcT/BJf2pYkc= github.com/glebarez/sqlite v1.10.0/go.mod h1:IJ+lfSOmiekhQsFTJRx/lHtGYmCdtAiTaf5wI9u5uHA= github.com/go-logr/logr v1.2.2/go.mod h1:jdQByPbusPIv2/zmleS9BjJVeZ6kBagPoEUsqbVz/1A= -github.com/go-logr/logr v1.3.0 h1:2y3SDp0ZXuc6/cjLSZ+Q3ir+QB9T/iG5yYRXqsagWSY= -github.com/go-logr/logr v1.3.0/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/logr v1.4.1 h1:pKouT5E8xu9zeFC39JXRDukb6JFQPXM5p5I91188VAQ= github.com/go-logr/logr v1.4.1/go.mod h1:9T104GzyrTigFIr8wt5mBrctHMim0Nb2HLGrmQ40KvY= github.com/go-logr/stdr v1.2.2 h1:hSWxHoqTgW2S2qGc0LTAI563KZ5YKYRhT3MFKZMbjag= github.com/go-logr/stdr v1.2.2/go.mod h1:mMo/vtBO5dYbehREoey6XUKy/eSumjCCveDpRre4VKE= -github.com/go-sql-driver/mysql v1.6.0/go.mod h1:DCzpHaOWr8IXmIStZouvnhqoel9Qv2LBy8hT2VhHyBg= github.com/go-sql-driver/mysql v1.7.0/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= github.com/go-sql-driver/mysql v1.7.1 h1:lUIinVbN1DY0xBg0eMOzmmtGoHwWBbvnWubQUrtU8EI= github.com/go-sql-driver/mysql v1.7.1/go.mod h1:OXbVy3sEdcQ2Doequ6Z5BW6fXNQTmx+9S1MCJN5yJMI= -github.com/gogf/gf v1.16.9 h1:Q803UmmRo59+Ws08sMVFOcd8oNpkSWL9vS33hlo/Cyk= -github.com/gogf/gf v1.16.9/go.mod h1:8Q/kw05nlVRp+4vv7XASBsMe9L1tsVKiGoeP2AHnlkk= -github.com/gogf/gf/contrib/drivers/mysql/v2 v2.5.6 h1:oR9F4LVoKa/fjf/o6Y/CQRNiYy35Bszo07WwvMWYMxo= -github.com/gogf/gf/contrib/drivers/mysql/v2 v2.5.6/go.mod h1:gvHSRqCpv2c+N0gDHsEldHgU/yM9tcCBdIEKZ32/TaE= github.com/gogf/gf/contrib/drivers/mysql/v2 v2.6.3 h1:dRGGKKiT9FEnxhfHFerojy34uCKHgReKgpMbAOtqhsY= github.com/gogf/gf/contrib/drivers/mysql/v2 v2.6.3/go.mod h1:sGdaCPgN1AY0tho+WYAgYdUHJkXwuDf76M3ASgHXWRQ= -github.com/gogf/gf/contrib/nosql/redis/v2 v2.5.6 h1:JPhmDok7Q85TB2TOJhhJUz3U3U/4GUES1SXhuSnwjSw= -github.com/gogf/gf/contrib/nosql/redis/v2 v2.5.6/go.mod h1:gwY76zchpp+xhS+akLTORyMGkI3CXA1CoQFeS3PeF4w= github.com/gogf/gf/contrib/nosql/redis/v2 v2.6.3 h1:tbN3rYVSi5MfCS5qAaZ1Xg3fSsyHeT++tJZqEiH1s4c= github.com/gogf/gf/contrib/nosql/redis/v2 v2.6.3/go.mod h1:2+evGu1xAlamaYuDdSqa7QCiwPTm1RrGsUFSMc8PyLc= -github.com/gogf/gf/v2 v2.5.6 h1:a1UK1yUP3s+l+vPxmV91+8gTarAP9b1IEOw0W7LNl6E= -github.com/gogf/gf/v2 v2.5.6/go.mod h1:17K/gBYrp0bHGC3XYC7bSPoywmZ6MrZHrZakTfh4eIQ= github.com/gogf/gf/v2 v2.6.3 h1:DoqeuwU98wotpFoDSQEx8RZbmJdK8KdGiJtzJeqpyIo= github.com/gogf/gf/v2 v2.6.3/go.mod h1:x2XONYcI4hRQ/4gMNbWHmZrNzSEIg20s2NULbzom5k0= github.com/golang-jwt/jwt/v4 v4.5.0 h1:7cYmW1XlMY7h7ii7UhUyChSgS5wUJEnm9uZVTGqOWzg= github.com/golang-jwt/jwt/v4 v4.5.0/go.mod h1:m21LjoU+eqJr34lmDMbreY2eSTRJ1cv77w39/MY0Ch0= -github.com/gomodule/redigo v1.8.5 h1:nRAxCa+SVsyjSBrtZmG/cqb6VbTmuRzpg/PoTFlpumc= -github.com/gomodule/redigo v1.8.5/go.mod h1:P9dn9mFrCBvWhGE1wpxx6fgq7BAeLBk+UUUzlpkBYO0= -github.com/google/go-cmp v0.5.6/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.4.0 h1:MtMxsa51/r9yyhkyLsVeVt0B+BGQZzpQiTQ4eHZ8bc4= -github.com/google/uuid v1.4.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= github.com/google/uuid v1.6.0 h1:NIvaJDMOsjHA8n1jAhLSgzrAzy1Hgr+hNrb57e+94F0= github.com/google/uuid v1.6.0/go.mod h1:TIyPZe4MgqvfeYDBFedMoGGpEw/LqOeaOT+nhxU+yHo= -github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE= github.com/gorilla/websocket v1.5.1 h1:gmztn0JnHVt9JZquRuzLw3g4wouNVzKL15iLr/zn/QY= github.com/gorilla/websocket v1.5.1/go.mod h1:x3kM2JMyaluk02fnUJpQuwD2dCS5NDG2ZHL0uE0tcaY= -github.com/grokify/html-strip-tags-go v0.0.1 h1:0fThFwLbW7P/kOiTBs03FsJSV9RM2M/Q/MOnCQxKMo0= -github.com/grokify/html-strip-tags-go v0.0.1/go.mod h1:2Su6romC5/1VXOQMaWL2yb618ARB8iVo6/DR99A6d78= github.com/grokify/html-strip-tags-go v0.1.0 h1:03UrQLjAny8xci+R+qjCce/MYnpNXCtgzltlQbOBae4= github.com/grokify/html-strip-tags-go v0.1.0/go.mod h1:ZdzgfHEzAfz9X6Xe5eBLVblWIxXfYSQ40S/VKrAOGpc= github.com/jinzhu/inflection v1.0.0 h1:K317FqzuhWc8YvSVlFMCCUb36O/S9MCKRDI7QkRKD/E= @@ -107,10 +65,8 @@ github.com/kr/pretty v0.3.0 h1:WgNl7dwNpEZ6jJ9k1snq4pZsg7DOEN8hP9Xw0Tsjwk0= github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY= github.com/magiconair/properties v1.8.7 h1:IeQXZAiQcpL9mgcAe1Nu6cX9LLw6ExEHKjN0VQdvPDY= github.com/magiconair/properties v1.8.7/go.mod h1:Dhd985XPs7jluiymwWYZ0G4Z61jb3vdS329zhj2hYo0= -github.com/mattn/go-colorable v0.1.8/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc= 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/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= @@ -122,91 +78,47 @@ github.com/ncruces/go-strftime v0.1.9/go.mod h1:Fwc5htZGVVkseilnfgOVb9mKy6w1naJm github.com/olekukonko/tablewriter v0.0.5 h1:P2Ga83D34wi1o9J6Wh1mRuqd4mF/x/lgBS7N7AbDhec= github.com/olekukonko/tablewriter v0.0.5/go.mod h1:hPp6KlRPjbx+hW8ykQs1w3UBbZlj6HuIJcUGPhkA7kY= github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM= -github.com/pmezard/go-difflib v1.0.0/go.mod h1:iKH77koFhYxTK1pcRnkKkqfTogsbg7gZNVY4sRDYZ/4= -github.com/redis/go-redis/v9 v9.3.0 h1:RiVDjmig62jIWp7Kk4XVLs0hzV6pI3PyTnnL0cnn0u0= -github.com/redis/go-redis/v9 v9.3.0/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M= github.com/redis/go-redis/v9 v9.4.0 h1:Yzoz33UZw9I/mFhx4MNrB6Fk+XHO1VukNcCa1+lwyKk= github.com/redis/go-redis/v9 v9.4.0/go.mod h1:hdY0cQFCN4fnSYT6TkisLufl/4W5UIXyv0b/CLO2V2M= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec h1:W09IVJc94icq4NjY3clb7Lk8O1qJ8BdBEF8z0ibU0rE= github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec/go.mod h1:qqbHyh8v60DhA7CoWK5oRCqLrMHRGoxYCSS9EjAz6Eo= github.com/rivo/uniseg v0.2.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc= -github.com/rivo/uniseg v0.4.4 h1:8TfxU8dW6PdqD27gjM8MVNuicgxIjxpm4K7x4jp8sis= -github.com/rivo/uniseg v0.4.4/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= -github.com/rivo/uniseg v0.4.6 h1:Sovz9sDSwbOz9tgUy8JpT+KgCkPYJEN/oYzlJiYTNLg= -github.com/rivo/uniseg v0.4.6/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= +github.com/rivo/uniseg v0.4.7 h1:WUdvkW8uEhrYfLC4ZzdpI2ztxP1I582+49Oc5Mq64VQ= +github.com/rivo/uniseg v0.4.7/go.mod h1:FN3SvrM+Zdj16jyLfmOkMNblXMcoc8DfTHruCPUcx88= github.com/robfig/cron v1.2.0 h1:ZjScXvvxeQ63Dbyxy76Fj3AT3Ut0aKsyd2/tl3DTMuQ= github.com/robfig/cron v1.2.0/go.mod h1:JGuDeoQd7Z6yL4zQhZ3OPEVHB7fL6Ka6skscFHfmt2k= github.com/rogpeppe/go-internal v1.6.1 h1:/FiVV8dS/e+YqF2JvO3yXRFbBLTIuSDkuC7aBOAvL+k= -github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME= -github.com/stretchr/testify v1.5.1/go.mod h1:5W2xD1RspED5o8YsWQXVCued0rvSQ+mT+I5cxcmMvtA= -github.com/stretchr/testify v1.7.0/go.mod h1:6Fq8oRcR53rry900zMqJjRRixrwX3KX962/h/Wwjteg= github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk= -go.opentelemetry.io/otel v1.0.0/go.mod h1:AjRVh9A5/5DE7S+mZtTR6t8vpKKryam+0lREnfmS4cg= -go.opentelemetry.io/otel v1.19.0 h1:MuS/TNf4/j4IXsZuJegVzI1cwut7Qc00344rgH7p8bs= -go.opentelemetry.io/otel v1.19.0/go.mod h1:i0QyjOq3UPoTzff0PJB2N66fb4S0+rSbSB15/oyH9fY= -go.opentelemetry.io/otel v1.23.0 h1:Df0pqjqExIywbMCMTxkAwzjLZtRf+bBKLbUcpxO2C9E= -go.opentelemetry.io/otel v1.23.0/go.mod h1:YCycw9ZeKhcJFrb34iVSkyT0iczq/zYDtZYFufObyB0= -go.opentelemetry.io/otel/metric v1.19.0 h1:aTzpGtV0ar9wlV4Sna9sdJyII5jTVJEvKETPiOKwvpE= -go.opentelemetry.io/otel/metric v1.19.0/go.mod h1:L5rUsV9kM1IxCj1MmSdS+JQAcVm319EUrDVLrt7jqt8= -go.opentelemetry.io/otel/metric v1.23.0 h1:pazkx7ss4LFVVYSxYew7L5I6qvLXHA0Ap2pwV+9Cnpo= -go.opentelemetry.io/otel/metric v1.23.0/go.mod h1:MqUW2X2a6Q8RN96E2/nqNoT+z9BSms20Jb7Bbp+HiTo= -go.opentelemetry.io/otel/sdk v1.19.0 h1:6USY6zH+L8uMH8L3t1enZPR3WFEmSTADlqldyHtJi3o= -go.opentelemetry.io/otel/sdk v1.19.0/go.mod h1:NedEbbS4w3C6zElbLdPJKOpJQOrGUJ+GfzpjUvI0v1A= -go.opentelemetry.io/otel/sdk v1.23.0 h1:0KM9Zl2esnl+WSukEmlaAEjVY5HDZANOHferLq36BPc= -go.opentelemetry.io/otel/sdk v1.23.0/go.mod h1:wUscup7byToqyKJSilEtMf34FgdCAsFpFOjXnAwFfO0= -go.opentelemetry.io/otel/trace v1.0.0/go.mod h1:PXTWqayeFUlJV1YDNhsJYB184+IvAH814St6o6ajzIs= -go.opentelemetry.io/otel/trace v1.19.0 h1:DFVQmlVbfVeOuBRrwdtaehRrWiL1JoVs9CPIQ1Dzxpg= -go.opentelemetry.io/otel/trace v1.19.0/go.mod h1:mfaSyvGyEJEI0nyV2I4qhNQnbBOUUmYZpYojqMnX2vo= -go.opentelemetry.io/otel/trace v1.23.0 h1:37Ik5Ib7xfYVb4V1UtnT97T1jI+AoIYkJyPkuL4iJgI= -go.opentelemetry.io/otel/trace v1.23.0/go.mod h1:GSGTbIClEsuZrGIzoEHqsVfxgn5UkggkflQwDScNUsk= -golang.org/x/net v0.0.0-20210520170846-37e1c6afe023/go.mod h1:9nx3DQGgdP8bBQD5qxJ1jj9UTztislL4KSBs9R2vV5Y= -golang.org/x/net v0.17.0 h1:pVaXccu2ozPjCXewfr1S7xza/zcXTity9cCdXQYSjIM= -golang.org/x/net v0.17.0/go.mod h1:NxSsAGuq816PNPmqtQdLE42eU2Fs7NoRIZrHJAlaCOE= -golang.org/x/net v0.20.0 h1:aCL9BSgETF1k+blQaYUBx9hJ9LOGP3gAVemcZlf1Kpo= -golang.org/x/net v0.20.0/go.mod h1:z8BVo6PvndSri0LbOE3hAn0apkU+1YvI6E70E9jsnvY= -golang.org/x/sys v0.0.0-20191005200804-aed5e4c7ecf9/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200116001909-b77594299b42/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= -golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod h1:h1NjWce9XRLGQEsW7wpKNCjG9DtNlClVuFLEZdDNbEs= +go.opentelemetry.io/otel v1.23.1 h1:Za4UzOqJYS+MUczKI320AtqZHZb7EqxO00jAHE0jmQY= +go.opentelemetry.io/otel v1.23.1/go.mod h1:Td0134eafDLcTS4y+zQ26GE8u3dEuRBiBCTUIRHaikA= +go.opentelemetry.io/otel/metric v1.23.1 h1:PQJmqJ9u2QaJLBOELl1cxIdPcpbwzbkjfEyelTl2rlo= +go.opentelemetry.io/otel/metric v1.23.1/go.mod h1:mpG2QPlAfnK8yNhNJAxDZruU9Y1/HubbC+KyH8FaCWI= +go.opentelemetry.io/otel/sdk v1.23.1 h1:O7JmZw0h76if63LQdsBMKQDWNb5oEcOThG9IrxscV+E= +go.opentelemetry.io/otel/sdk v1.23.1/go.mod h1:LzdEVR5am1uKOOwfBWFef2DCi1nu3SA8XQxx2IerWFk= +go.opentelemetry.io/otel/trace v1.23.1 h1:4LrmmEd8AU2rFvU1zegmvqW7+kWarxtNOPyeL6HmYY8= +go.opentelemetry.io/otel/trace v1.23.1/go.mod h1:4IpnpJFwr1mo/6HL8XIPJaE9y0+u1KcVmuW7dwFSVrI= +golang.org/x/net v0.21.0 h1:AQyQV4dYCvJ7vGmJyKki9+PBdyvhkSd8EIx/qb0AYv4= +golang.org/x/net v0.21.0/go.mod h1:bIjVDfnllIU7BJ2DNgfnXvpSvtn8VRwhlsaeUTyUS44= golang.org/x/sys v0.0.0-20220811171246-fbc7d0a398ab/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg= -golang.org/x/sys v0.14.0 h1:Vz7Qs629MkJkGyHxUlRHizWJRG2j8fbQKjELVSNhy7Q= -golang.org/x/sys v0.14.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/sys v0.16.0 h1:xWw16ngr6ZMtmxDyKyIgsE93KNKz5HKmMa3b8ALHidU= -golang.org/x/sys v0.16.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= -golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod h1:bj7SfCRtBDWHUb9snDiAeCFNEtKQo2Wmx5Cou7ajbmo= -golang.org/x/text v0.3.6/go.mod h1:5Zoc/QRtKVWzQhOtBMvqHzDpF6irO9z98xDceosuGiQ= +golang.org/x/sys v0.17.0 h1:25cE3gD+tdBA7lp7QfhuV+rJiE9YXTcS3VG1SqssI/Y= +golang.org/x/sys v0.17.0/go.mod h1:/VUhepiaJMQUp4+oa/7Zr1D23ma6VTLIYjOOTFZPUcA= 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/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod h1:n7NCudcB/nEzxVGmLbDWY5pfWTLqBcC2KZ6jyYvM4mQ= -golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c h1:Hei/4ADfdWqJk1ZMxUNpqntNwaWcugrBjAiHlqqRiVk= -gopkg.in/yaml.v2 v2.2.2/go.mod h1:hI93XBmqTisBFMUTm0b8Fm+jr3Dg1NNxqwp+5A1VGuI= -gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gopkg.in/yaml.v3 v3.0.0-20210107192922-496545a6307b/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= gopkg.in/yaml.v3 v3.0.1 h1:fxVm/GzAzEWqLHuvctI91KS9hhNmmWOoWu0XTYJS7CA= gopkg.in/yaml.v3 v3.0.1/go.mod h1:K4uyk7z7BCEPqu6E+C64Yfv1cQ7kz7rIZviUmN+EgEM= -gorm.io/driver/mysql v1.5.2 h1:QC2HRskSE75wBuOxe0+iCkyJZ+RqpudsQtqkp+IMuXs= -gorm.io/driver/mysql v1.5.2/go.mod h1:pQLhh1Ut/WUAySdTHwBpBv6+JKcj+ua4ZFx1QQTBzb8= gorm.io/driver/mysql v1.5.4 h1:igQmHfKcbaTVyAIHNhhB888vvxh8EdQ2uSUT0LPcBso= gorm.io/driver/mysql v1.5.4/go.mod h1:9rYxJph/u9SWkWc9yY4XJ1F/+xO0S/ChOmbk3+Z5Tvs= -gorm.io/gorm v1.25.2-0.20230530020048-26663ab9bf55/go.mod h1:L4uxeKpfBml98NYqVqwAdmV1a2nBtAec/cf3fpucW/k= -gorm.io/gorm v1.25.5 h1:zR9lOiiYf09VNh5Q1gphfyia1JpiClIWG9hQaxB/mls= -gorm.io/gorm v1.25.5/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= gorm.io/gorm v1.25.7-0.20240204074919-46816ad31dde/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= gorm.io/gorm v1.25.7 h1:VsD6acwRjz2zFxGO50gPO6AkNs7KKnvfzUjHQhZDz/A= gorm.io/gorm v1.25.7/go.mod h1:hbnx/Oo0ChWMn1BIhpy1oYozzpM15i4YPuHDmfYtwg8= -modernc.org/libc v1.30.0 h1:tw+o+UObwSE4Bfu3+Ztz9NW/Olqp7nTL/vcaEY/x4rc= -modernc.org/libc v1.30.0/go.mod h1:SUKVISl2sU6aasM35Y0v4SsSBTt89uDKrvxgXkvsC/4= modernc.org/libc v1.41.0 h1:g9YAc6BkKlgORsUWj+JwqoB1wU3o4DE3bM3yvA3k+Gk= modernc.org/libc v1.41.0/go.mod h1:w0eszPsiXoOnoMJgrXjglgLuDy/bt5RR4y3QzUUeodY= modernc.org/mathutil v1.6.0 h1:fRe9+AmYlaej+64JsEEhoWuAYBkOtQiMEU7n/XgfYi4= modernc.org/mathutil v1.6.0/go.mod h1:Ui5Q9q1TR2gFm0AQRqQUaBWFLAhQpCwNcuhBOSedWPo= modernc.org/memory v1.7.2 h1:Klh90S215mmH8c9gO98QxQFsY+W451E8AnzjoE2ee1E= modernc.org/memory v1.7.2/go.mod h1:NO4NVCQy0N7ln+T9ngWqOQfi7ley4vpwvARR+Hjw95E= -modernc.org/sqlite v1.27.0 h1:MpKAHoyYB7xqcwnUwkuD+npwEa0fojF0B5QRbN+auJ8= -modernc.org/sqlite v1.27.0/go.mod h1:Qxpazz0zH8Z1xCFyi5GSL3FzbtZ3fvbjmywNogldEW0= -modernc.org/sqlite v1.28.0 h1:Zx+LyDDmXczNnEQdvPuEfcFVA2ZPyaD7UCZDjef3BHQ= -modernc.org/sqlite v1.28.0/go.mod h1:Qxpazz0zH8Z1xCFyi5GSL3FzbtZ3fvbjmywNogldEW0= +modernc.org/sqlite v1.29.1 h1:19GY2qvWB4VPw0HppFlZCPAbmxFU41r+qjKZQdQ1ryA= +modernc.org/sqlite v1.29.1/go.mod h1:hG41jCYxOAOoO6BRK66AdRlmOcDzXf7qnwlwjUIOqa0= From 031ed14f42551ff110a480ed23f9f4a2ba71beb1 Mon Sep 17 00:00:00 2001 From: GCSLaoLi Date: Sat, 17 Feb 2024 01:19:22 +0800 Subject: [PATCH 3/4] 1 --- modules/chatgpt/controller/admin/chatgpt_session.go | 2 +- modules/chatgpt/controller/admin/chatgpt_user.go | 2 +- modules/chatgpt/controller/adminapi/chatgpt_session.go | 2 +- modules/chatgpt/controller/adminapi/chatgpt_user.go | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/chatgpt/controller/admin/chatgpt_session.go b/modules/chatgpt/controller/admin/chatgpt_session.go index 0c140be..6d9178d 100644 --- a/modules/chatgpt/controller/admin/chatgpt_session.go +++ b/modules/chatgpt/controller/admin/chatgpt_session.go @@ -13,7 +13,7 @@ type ChatgptSessionController struct { func init() { var chatgpt_session_controller = &ChatgptSessionController{ &cool.Controller{ - Perfix: "/admin/chatgpt/session", + Prefix: "/admin/chatgpt/session", Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"}, Service: service.NewChatgptSessionService(), }, diff --git a/modules/chatgpt/controller/admin/chatgpt_user.go b/modules/chatgpt/controller/admin/chatgpt_user.go index 52ca9d8..fe03df1 100644 --- a/modules/chatgpt/controller/admin/chatgpt_user.go +++ b/modules/chatgpt/controller/admin/chatgpt_user.go @@ -13,7 +13,7 @@ type ChatgptUserController struct { func init() { var chatgpt_user_controller = &ChatgptUserController{ &cool.Controller{ - Perfix: "/admin/chatgpt/user", + Prefix: "/admin/chatgpt/user", Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"}, Service: service.NewChatgptUserService(), }, diff --git a/modules/chatgpt/controller/adminapi/chatgpt_session.go b/modules/chatgpt/controller/adminapi/chatgpt_session.go index 4fbe1da..7059253 100644 --- a/modules/chatgpt/controller/adminapi/chatgpt_session.go +++ b/modules/chatgpt/controller/adminapi/chatgpt_session.go @@ -17,7 +17,7 @@ type ChatgptSessionController struct { func init() { var chatgpt_session_controller = &ChatgptSessionController{ &cool.Controller{ - Perfix: "/adminapi/chatgpt/session", + Prefix: "/adminapi/chatgpt/session", Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"}, Service: service.NewChatgptSessionService(), }, diff --git a/modules/chatgpt/controller/adminapi/chatgpt_user.go b/modules/chatgpt/controller/adminapi/chatgpt_user.go index d1885b5..fd0ea14 100644 --- a/modules/chatgpt/controller/adminapi/chatgpt_user.go +++ b/modules/chatgpt/controller/adminapi/chatgpt_user.go @@ -17,7 +17,7 @@ type ChatgptUserController struct { func init() { var chatgpt_user_controller = &ChatgptUserController{ &cool.Controller{ - Perfix: "/adminapi/chatgpt/user", + Prefix: "/adminapi/chatgpt/user", Api: []string{"Add", "Delete", "Update", "Info", "List", "Page"}, Service: service.NewChatgptUserService(), }, From 4d4704d57f34eb78e1a89aa11e9afe03517c2072 Mon Sep 17 00:00:00 2001 From: GCSLaoLi Date: Sat, 17 Feb 2024 10:19:14 +0800 Subject: [PATCH 4/4] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.prod.yaml | 10 +++++----- release.sh | 2 +- resource/template/LxJWDayKNMzRjO_Ay4ljN/chat.html | 1 + resource/template/LxJWDayKNMzRjO_Ay4ljN/discovery.html | 1 + resource/template/LxJWDayKNMzRjO_Ay4ljN/editor.html | 1 + resource/template/LxJWDayKNMzRjO_Ay4ljN/g.html | 1 + resource/template/LxJWDayKNMzRjO_Ay4ljN/gc.html | 1 + resource/template/LxJWDayKNMzRjO_Ay4ljN/gpts.html | 1 + resource/template/LxJWDayKNMzRjO_Ay4ljN/mine.html | 1 + resource/template/LxJWDayKNMzRjO_Ay4ljN/slug.html | 1 + 10 files changed, 14 insertions(+), 6 deletions(-) create mode 100644 resource/template/LxJWDayKNMzRjO_Ay4ljN/chat.html create mode 100644 resource/template/LxJWDayKNMzRjO_Ay4ljN/discovery.html create mode 100644 resource/template/LxJWDayKNMzRjO_Ay4ljN/editor.html create mode 100644 resource/template/LxJWDayKNMzRjO_Ay4ljN/g.html create mode 100644 resource/template/LxJWDayKNMzRjO_Ay4ljN/gc.html create mode 100644 resource/template/LxJWDayKNMzRjO_Ay4ljN/gpts.html create mode 100644 resource/template/LxJWDayKNMzRjO_Ay4ljN/mine.html create mode 100644 resource/template/LxJWDayKNMzRjO_Ay4ljN/slug.html diff --git a/config.prod.yaml b/config.prod.yaml index 959d03e..c7f640a 100644 --- a/config.prod.yaml +++ b/config.prod.yaml @@ -4,11 +4,11 @@ server: serverRoot: "resource/public" clientMaxBodySize: 104857600 # 100MB in bytes 100*1024*1024 -logger: - path: "./data/logs/" - file: "{Y-m-d}.log" - level : "info" - stdout: true +# logger: +# path: "./data/logs/" +# file: "{Y-m-d}.log" +# level : "info" +# stdout: true database: diff --git a/release.sh b/release.sh index 144b9c0..e298c12 100755 --- a/release.sh +++ b/release.sh @@ -2,7 +2,7 @@ # registry.cn-beijing.aliyuncs.com/ set -e -gf build main.go -a amd64 -s linux +gf build main.go -a amd64 -s linux -p ./temp gf docker main.go -t xyhelper/chatgpt-mirror-server:latest # 修改镜像标签为当前日期时间 time=$(date "+%Y%m%d%H%M%S") diff --git a/resource/template/LxJWDayKNMzRjO_Ay4ljN/chat.html b/resource/template/LxJWDayKNMzRjO_Ay4ljN/chat.html new file mode 100644 index 0000000..8c042d4 --- /dev/null +++ b/resource/template/LxJWDayKNMzRjO_Ay4ljN/chat.html @@ -0,0 +1 @@ +{{.envScript}}ChatGPT
\ No newline at end of file diff --git a/resource/template/LxJWDayKNMzRjO_Ay4ljN/discovery.html b/resource/template/LxJWDayKNMzRjO_Ay4ljN/discovery.html new file mode 100644 index 0000000..5076740 --- /dev/null +++ b/resource/template/LxJWDayKNMzRjO_Ay4ljN/discovery.html @@ -0,0 +1 @@ +{{.envScript}}ChatGPT
\ No newline at end of file diff --git a/resource/template/LxJWDayKNMzRjO_Ay4ljN/editor.html b/resource/template/LxJWDayKNMzRjO_Ay4ljN/editor.html new file mode 100644 index 0000000..f307af8 --- /dev/null +++ b/resource/template/LxJWDayKNMzRjO_Ay4ljN/editor.html @@ -0,0 +1 @@ +{{.envScript}}ChatGPT
\ No newline at end of file diff --git a/resource/template/LxJWDayKNMzRjO_Ay4ljN/g.html b/resource/template/LxJWDayKNMzRjO_Ay4ljN/g.html new file mode 100644 index 0000000..6338eb7 --- /dev/null +++ b/resource/template/LxJWDayKNMzRjO_Ay4ljN/g.html @@ -0,0 +1 @@ +{{.envScript}}ChatGPT
\ No newline at end of file diff --git a/resource/template/LxJWDayKNMzRjO_Ay4ljN/gc.html b/resource/template/LxJWDayKNMzRjO_Ay4ljN/gc.html new file mode 100644 index 0000000..8c0818a --- /dev/null +++ b/resource/template/LxJWDayKNMzRjO_Ay4ljN/gc.html @@ -0,0 +1 @@ +{{.envScript}}ChatGPT
\ No newline at end of file diff --git a/resource/template/LxJWDayKNMzRjO_Ay4ljN/gpts.html b/resource/template/LxJWDayKNMzRjO_Ay4ljN/gpts.html new file mode 100644 index 0000000..5076740 --- /dev/null +++ b/resource/template/LxJWDayKNMzRjO_Ay4ljN/gpts.html @@ -0,0 +1 @@ +{{.envScript}}ChatGPT
\ No newline at end of file diff --git a/resource/template/LxJWDayKNMzRjO_Ay4ljN/mine.html b/resource/template/LxJWDayKNMzRjO_Ay4ljN/mine.html new file mode 100644 index 0000000..324cc84 --- /dev/null +++ b/resource/template/LxJWDayKNMzRjO_Ay4ljN/mine.html @@ -0,0 +1 @@ +{{.envScript}}ChatGPT
\ No newline at end of file diff --git a/resource/template/LxJWDayKNMzRjO_Ay4ljN/slug.html b/resource/template/LxJWDayKNMzRjO_Ay4ljN/slug.html new file mode 100644 index 0000000..527e683 --- /dev/null +++ b/resource/template/LxJWDayKNMzRjO_Ay4ljN/slug.html @@ -0,0 +1 @@ +{{.envScript}}ChatGPT
\ No newline at end of file