From 52baf8b86c6b65ed4052027c74278e16bfe7d35e Mon Sep 17 00:00:00 2001 From: Dzmitry Chystsik Date: Thu, 2 Nov 2023 20:04:13 +0300 Subject: [PATCH] add status type to the const --- internal/models/order.go | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/internal/models/order.go b/internal/models/order.go index db62df4..7c166fe 100644 --- a/internal/models/order.go +++ b/internal/models/order.go @@ -7,11 +7,11 @@ import ( type Status string const ( - Invalid = "INVALID" - New = "NEW" - Registered = "REGISTERED" - Processing = "PROCESSING" - Processed = "PROCESSED" + Invalid Status = "INVALID" + New Status = "NEW" + Registered Status = "REGISTERED" + Processing Status = "PROCESSING" + Processed Status = "PROCESSED" ) type (