Commit 57a1fc9d authored by yangjianbo's avatar yangjianbo
Browse files

style(仓储): 格式化账号仓储

- gofmt 修正 lint 格式提示
parent 7a83db61
...@@ -41,8 +41,8 @@ import ( ...@@ -41,8 +41,8 @@ import (
// - sql: 原生 SQL 执行器,用于复杂查询和批量操作 // - sql: 原生 SQL 执行器,用于复杂查询和批量操作
// - schedulerCache: 调度器缓存,用于在账号状态变更时同步快照 // - schedulerCache: 调度器缓存,用于在账号状态变更时同步快照
type accountRepository struct { type accountRepository struct {
client *dbent.Client // Ent ORM 客户端 client *dbent.Client // Ent ORM 客户端
sql sqlExecutor // 原生 SQL 执行接口 sql sqlExecutor // 原生 SQL 执行接口
// schedulerCache 用于在账号状态变更时主动同步快照到缓存, // schedulerCache 用于在账号状态变更时主动同步快照到缓存,
// 确保粘性会话能及时感知账号不可用状态。 // 确保粘性会话能及时感知账号不可用状态。
// Used to proactively sync account snapshot to cache when status changes, // Used to proactively sync account snapshot to cache when status changes,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment