后端: - Redis 分页: KEYS→SCAN分页, LRANGE→offset/limit, SMEMBERS→SSCAN分页 - MongoDB 新增 executeMongoQuery: db.collection.find/aggregate 解析 - find: skip/limit分页 + CountDocuments总数 - aggregate: $facet并行取count+data - bson.M扁平化处理嵌套文档 - ExportQueryCSV 改为多分支: exportSQLCSV/exportRedisCSV/exportMongoCSV - Redis: 复用executeRedisQuery取数据写CSV - MongoDB: 复用executeMongoQuery取数据写CSV - 新增 mongo-driver v2 依赖 - 前端: Redis也显示导出CSV按钮(去掉dbType过滤)
66 lines
2.6 KiB
AMPL
66 lines
2.6 KiB
AMPL
module sql-platform
|
|
|
|
go 1.26
|
|
|
|
require (
|
|
github.com/gin-contrib/cors v1.7.5
|
|
github.com/gin-gonic/gin v1.10.1
|
|
github.com/go-ldap/ldap/v3 v3.4.13
|
|
github.com/go-sql-driver/mysql v1.10.0
|
|
github.com/golang-jwt/jwt/v5 v5.2.2
|
|
github.com/jackc/pgx/v5 v5.9.2
|
|
github.com/joho/godotenv v1.5.1
|
|
github.com/redis/go-redis/v9 v9.19.0
|
|
golang.org/x/crypto v0.48.0
|
|
gorm.io/driver/sqlite v1.5.7
|
|
gorm.io/gorm v1.26.0
|
|
)
|
|
|
|
require (
|
|
filippo.io/edwards25519 v1.2.0 // indirect
|
|
github.com/Azure/go-ntlmssp v0.1.0 // indirect
|
|
github.com/bytedance/sonic v1.13.2 // indirect
|
|
github.com/bytedance/sonic/loader v0.2.4 // indirect
|
|
github.com/cespare/xxhash/v2 v2.3.0 // indirect
|
|
github.com/cloudwego/base64x v0.1.5 // indirect
|
|
github.com/gabriel-vasile/mimetype v1.4.8 // indirect
|
|
github.com/gin-contrib/sse v1.0.0 // indirect
|
|
github.com/go-asn1-ber/asn1-ber v1.5.8-0.20250403174932-29230038a667 // 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.26.0 // indirect
|
|
github.com/goccy/go-json v0.10.5 // indirect
|
|
github.com/google/go-cmp v0.6.0 // indirect
|
|
github.com/google/uuid v1.6.0 // indirect
|
|
github.com/jackc/pgpassfile v1.0.0 // indirect
|
|
github.com/jackc/pgservicefile v0.0.0-20240606120523-5a60cdf6a761 // 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/compress v1.17.6 // indirect
|
|
github.com/klauspost/cpuid/v2 v2.2.10 // indirect
|
|
github.com/kr/text v0.2.0 // indirect
|
|
github.com/leodido/go-urn v1.4.0 // indirect
|
|
github.com/mattn/go-isatty v0.0.20 // indirect
|
|
github.com/mattn/go-sqlite3 v1.14.22 // indirect
|
|
github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd // indirect
|
|
github.com/modern-go/reflect2 v1.0.2 // indirect
|
|
github.com/pelletier/go-toml/v2 v2.2.3 // indirect
|
|
github.com/twitchyliquid64/golang-asm v0.15.1 // indirect
|
|
github.com/ugorji/go/codec v1.2.12 // indirect
|
|
github.com/xdg-go/pbkdf2 v1.0.0 // indirect
|
|
github.com/xdg-go/scram v1.2.0 // indirect
|
|
github.com/xdg-go/stringprep v1.0.4 // indirect
|
|
github.com/youmark/pkcs8 v0.0.0-20240726163527-a2c0da244d78 // indirect
|
|
go.mongodb.org/mongo-driver/v2 v2.6.0 // indirect
|
|
go.uber.org/atomic v1.11.0 // indirect
|
|
golang.org/x/arch v0.15.0 // indirect
|
|
golang.org/x/net v0.50.0 // indirect
|
|
golang.org/x/sync v0.19.0 // indirect
|
|
golang.org/x/sys v0.41.0 // indirect
|
|
golang.org/x/text v0.34.0 // indirect
|
|
google.golang.org/protobuf v1.36.6 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1 // indirect
|
|
)
|