mirror of
https://github.com/injoyai/tdx.git
synced 2025-11-26 21:25:35 +08:00
减少方法名称长度,去掉固定前缀Stock
This commit is contained in:
@@ -81,7 +81,7 @@ func GetHourMinute(bs [2]byte) string {
|
||||
return fmt.Sprintf("%02d:%02d", h, m)
|
||||
}
|
||||
|
||||
func GetTime(bs [4]byte, Type TypeKline) time.Time {
|
||||
func GetTime(bs [4]byte, Type uint8) time.Time {
|
||||
switch Type {
|
||||
case TypeKlineDay2, TypeKlineMinute, TypeKlineMinute2:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user