Files
cryptoHermes/internal/repo/webapi
dela c478a5feb9 test(binance): mapper.go 全函数 100% 覆盖
- parseKlineRow:正例 + 短数组 + future closeTime(G3 保护) + openTime/
  closeTime/tradeCount 各类型错误
- toInt64:float64/int64/int/未知 4 个分支
- mapLongShort:global_account 取 LongAccount/ShortAccount,
  top_trader_position 取 LongPosition/ShortPosition,空输入
- mapTicker/mapPremiumIndex/mapFundingHistory/mapOpenInterest/
  mapOpenInterestHistory/mapTakerVolume:纯字段平移,单 case 验证

mapper.go 9 函数全部 100%。包级 31.6% 是 client.go/market.go/
derivatives.go 走真实 HTTP 拉低;这部分留 v2.1 集成测试再补。
2026-05-24 20:35:39 +08:00
..