减少方法名称长度,去掉固定前缀Stock

This commit is contained in:
injoyai
2024-10-31 10:16:49 +08:00
parent fc604d1eff
commit c6e701af1b
27 changed files with 502 additions and 390 deletions

View File

@@ -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: