docs: add package and exported symbol comments for revive lint compliance

This commit is contained in:
ryan
2026-06-09 13:42:06 +08:00
parent 4ac9857fe8
commit b05d26c9c6
40 changed files with 87 additions and 0 deletions
+2
View File
@@ -17,6 +17,7 @@ limitations under the License.
package common
// 通用业务错误消息常量
const (
BannedAccount = "账号已被封禁"
AmountMustBeGreaterThanZero = "金额必须大于0"
@@ -32,6 +33,7 @@ const (
UnAuthorized = "未登录"
)
// 保护期相关错误消息
const (
GetProtectionDaysFailed = "获取新用户保护期配置失败"
)