memos/store/common.go

16 lines
297 B
Go
Raw Normal View History

2023-05-25 16:50:37 +03:00
package store
// RowStatus is the status for a row.
type RowStatus string
const (
// Normal is the status for a normal row.
Normal RowStatus = "NORMAL"
// Archived is the status for an archived row.
Archived RowStatus = "ARCHIVED"
)
func (r RowStatus) String() string {
return string(r)
2023-05-25 16:50:37 +03:00
}