(status string)
| 25 | } |
| 26 | |
| 27 | func ConvertRowStatusStringToStorepb(status string) storepb.RowStatus { |
| 28 | switch status { |
| 29 | case "NORMAL": |
| 30 | return storepb.RowStatus_NORMAL |
| 31 | case "ARCHIVED": |
| 32 | return storepb.RowStatus_ARCHIVED |
| 33 | } |
| 34 | return storepb.RowStatus_ROW_STATUS_UNSPECIFIED |
| 35 | } |
| 36 | |
| 37 | // Visibility is the type of a visibility. |
| 38 | type Visibility string |
no outgoing calls
no test coverage detected
searching dependent graphs…