mirror of
https://github.com/usememos/memos.git
synced 2024-11-15 11:17:58 +08:00
15 lines
294 B
Go
15 lines
294 B
Go
package v1
|
|
|
|
// 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)
|
|
}
|