chore: update error message

This commit is contained in:
Steven
2023-07-02 22:50:32 +08:00
parent fc27490766
commit 0216f229e0
7 changed files with 83 additions and 91 deletions

View File

@ -10,12 +10,6 @@ const (
Archived RowStatus = "ARCHIVED"
)
func (status RowStatus) String() string {
switch status {
case Normal:
return "NORMAL"
case Archived:
return "ARCHIVED"
}
return ""
func (s RowStatus) String() string {
return string(s)
}