2.数据库表名重定义,股票代码有可能命中PostgreSQL的保留3.关键字,加市场后缀,如US或HK 4.删除了插入数据时存在检查以提高效率 5.将 io/ioutil 的使用移除,并替换为 Go 1.16+ 推荐的实现
27 lines
828 B
AMPL
27 lines
828 B
AMPL
module getk
|
|
|
|
go 1.25.3
|
|
|
|
require (
|
|
github.com/lib/pq v1.10.9
|
|
github.com/longportapp/openapi-go v0.16.4
|
|
)
|
|
|
|
require golang.org/x/time v0.14.0 // indirect
|
|
|
|
require (
|
|
github.com/Allenxuxu/ringbuffer v0.0.11 // indirect
|
|
github.com/BurntSushi/toml v1.3.2 // indirect
|
|
github.com/Netflix/go-env v0.0.0-20220526054621-78278af1949d // indirect
|
|
github.com/google/go-querystring v1.1.0 // indirect
|
|
github.com/gorilla/websocket v1.5.0 // indirect
|
|
github.com/jinzhu/copier v0.3.5 // indirect
|
|
github.com/joho/godotenv v1.4.0 // indirect
|
|
github.com/longportapp/openapi-protobufs/gen/go v0.5.0 // indirect
|
|
github.com/longportapp/openapi-protocol/go v0.4.1 // indirect
|
|
github.com/pkg/errors v0.9.1 // indirect
|
|
github.com/shopspring/decimal v1.3.1 // indirect
|
|
google.golang.org/protobuf v1.28.1 // indirect
|
|
gopkg.in/yaml.v3 v3.0.1
|
|
)
|