refactor: standardize code comments

This commit is contained in:
tinkle-community
2025-12-08 01:40:48 +08:00
parent 0636ced476
commit a12c0ae8c9
103 changed files with 5466 additions and 5468 deletions

View File

@@ -12,7 +12,7 @@ type SetHttpClientResult struct {
func (r *SetHttpClientResult) Error() error {
if r.Err != nil {
log.Printf("⚠️ 执行NewAsterTraderResult时出错: %v", r.Err)
log.Printf("⚠️ Error executing SetHttpClientResult: %v", r.Err)
}
return r.Err
}

View File

@@ -13,7 +13,7 @@ func (r *IpResult) Error() error {
func (r *IpResult) GetResult() string {
if r.Err != nil {
log.Printf("⚠️ 执行GetIP时出错: %v", r.Err)
log.Printf("⚠️ Error executing GetIP: %v", r.Err)
}
return r.IP
}

View File

@@ -14,7 +14,7 @@ type NewBinanceTraderResult struct {
func (r *NewBinanceTraderResult) Error() error {
if r.Err != nil {
log.Printf("⚠️ 执行NewBinanceTraderResult时出错: %v", r.Err)
log.Printf("⚠️ Error executing NewBinanceTraderResult: %v", r.Err)
}
return r.Err
}
@@ -31,7 +31,7 @@ type NewAsterTraderResult struct {
func (r *NewAsterTraderResult) Error() error {
if r.Err != nil {
log.Printf("⚠️ 执行NewAsterTraderResult时出错: %v", r.Err)
log.Printf("⚠️ Error executing NewAsterTraderResult: %v", r.Err)
}
return r.Err
}