Docker Build (Gitea) / Build and Push Docker Image (push) Successful in 46s
- app/cmd/flag.go: 新增 MysqlDSNFlag(env MYSQL_DSN) - start/reset: 读取并传给 model.Init - model.Init 改为三选一:MySQL > PostgreSQL > SQLite - 新增 initMysql():连接池参数对齐 Postgres 那套(10/100、30m 生命周期) - order.go: return_url / notify_url 从 TEXT 改 VARCHAR(1024) MySQL 8 不允许 TEXT 列带 DEFAULT(Error 1101),改 varchar 三库通用 实测(真 mysql:8.0 容器):6 张表全部建出,bep_order 列类型符合预期
95 lines
4.0 KiB
AMPL
95 lines
4.0 KiB
AMPL
module github.com/v03413/bepusdt
|
|
|
|
go 1.26.2
|
|
|
|
require (
|
|
filippo.io/edwards25519 v1.2.0
|
|
github.com/btcsuite/btcd/btcutil v1.1.6
|
|
github.com/btcsuite/btcd/chaincfg/chainhash v1.1.0
|
|
github.com/eclipse/paho.mqtt.golang v1.5.1
|
|
github.com/gin-contrib/sessions v1.1.0
|
|
github.com/gin-gonic/gin v1.12.0
|
|
github.com/glebarez/sqlite v1.11.0
|
|
github.com/go-gormigrate/gormigrate/v2 v2.1.6
|
|
github.com/go-telegram/bot v1.20.0
|
|
github.com/joho/godotenv v1.5.1
|
|
github.com/matoous/go-nanoid/v2 v2.1.0
|
|
github.com/natefinch/lumberjack v2.0.0+incompatible
|
|
github.com/panjf2000/ants/v2 v2.12.0
|
|
github.com/shopspring/decimal v1.4.0
|
|
github.com/sirupsen/logrus v1.9.4
|
|
github.com/smallnest/chanx v1.2.0
|
|
github.com/spf13/cast v1.10.0
|
|
github.com/tidwall/gjson v1.18.0
|
|
github.com/urfave/cli/v3 v3.8.0
|
|
github.com/v03413/go-cache v0.0.0-20250922030915-0ab5b738a932
|
|
github.com/v03413/tronprotocol v0.0.0-20240824084238-bbd62f5e0158
|
|
github.com/xssnick/tonutils-go v1.17.2
|
|
golang.org/x/crypto v0.51.0
|
|
google.golang.org/grpc v1.81.0
|
|
gorm.io/driver/mysql v1.6.0
|
|
gorm.io/driver/postgres v1.6.0
|
|
gorm.io/gorm v1.31.1
|
|
)
|
|
|
|
require (
|
|
github.com/BurntSushi/toml v1.6.0 // indirect
|
|
github.com/bytedance/gopkg v0.1.4 // indirect
|
|
github.com/bytedance/sonic v1.15.1 // indirect
|
|
github.com/bytedance/sonic/loader v0.5.1 // indirect
|
|
github.com/cloudwego/base64x v0.1.7 // indirect
|
|
github.com/dustin/go-humanize v1.0.1 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.13 // indirect
|
|
github.com/gin-contrib/sse v1.1.1 // indirect
|
|
github.com/glebarez/go-sqlite v1.22.0 // indirect
|
|
github.com/go-playground/locales v0.14.1 // indirect
|
|
github.com/go-playground/universal-translator v0.18.1 // indirect
|
|
github.com/go-playground/validator/v10 v10.30.2 // indirect
|
|
github.com/go-sql-driver/mysql v1.8.1 // indirect
|
|
github.com/goccy/go-json v0.10.6 // indirect
|
|
github.com/goccy/go-yaml v1.19.2 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/gorilla/context v1.1.2 // indirect
|
|
github.com/gorilla/securecookie v1.1.2 // indirect
|
|
github.com/gorilla/sessions v1.4.0 // indirect
|
|
github.com/gorilla/websocket v1.5.3 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // indirect
|
|
github.com/jackc/pgx/v5 v5.9.2 // indirect
|
|
github.com/jackc/puddle/v2 v2.2.2 // indirect
|
|
github.com/jinzhu/inflection v1.0.0 // indirect
|
|
github.com/jinzhu/now v1.1.5 // indirect
|
|
github.com/json-iterator/go v1.1.12 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.3.0 // indirect
|
|
github.com/leodido/go-urn v1.4.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.22 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/ncruces/go-strftime v1.0.0 // indirect
|
|
github.com/patrickmn/go-cache v2.1.0+incompatible // indirect
|
|
github.com/pelletier/go-toml/v2 v2.3.1 // indirect
|
|
github.com/pierrec/lz4/v4 v4.1.26 // indirect
|
|
github.com/quasoft/memstore v0.0.0-20191010062613-2bce066d2b0b // indirect
|
|
github.com/quic-go/qpack v0.6.0 // indirect
|
|
github.com/quic-go/quic-go v0.59.0 // indirect
|
|
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
|
|
github.com/tidwall/match v1.2.0 // indirect
|
|
github.com/tidwall/pretty v1.2.1 // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
github.com/ugorji/go/codec v1.3.1 // indirect
|
|
go.mongodb.org/mongo-driver/v2 v2.6.0 // indirect
|
|
golang.org/x/arch v0.26.0 // indirect
|
|
golang.org/x/net v0.53.0 // indirect
|
|
golang.org/x/sync v0.20.0 // indirect
|
|
golang.org/x/sys v0.44.0 // indirect
|
|
golang.org/x/text v0.37.0 // indirect
|
|
google.golang.org/genproto/googleapis/api v0.0.0-20260504160031-60b97b32f348 // indirect
|
|
google.golang.org/genproto/googleapis/rpc v0.0.0-20260504160031-60b97b32f348 // indirect
|
|
google.golang.org/protobuf v1.36.11 // indirect
|
|
gopkg.in/natefinch/lumberjack.v2 v2.2.1 // indirect
|
|
modernc.org/libc v1.72.2 // indirect
|
|
modernc.org/mathutil v1.7.1 // indirect
|
|
modernc.org/memory v1.11.0 // indirect
|
|
modernc.org/sqlite v1.50.0 // indirect
|
|
)
|