common.go 353 B

123456789101112131415161718
  1. package v1
  2. // UnknownID is the ID for unknowns.
  3. const UnknownID = -1
  4. // RowStatus is the status for a row.
  5. type RowStatus string
  6. const (
  7. // Normal is the status for a normal row.
  8. Normal RowStatus = "NORMAL"
  9. // Archived is the status for an archived row.
  10. Archived RowStatus = "ARCHIVED"
  11. )
  12. func (r RowStatus) String() string {
  13. return string(r)
  14. }