From c61d0337b3735fb40d5b2b6447067723d82bd2aa Mon Sep 17 00:00:00 2001 From: qowevisa Date: Sat, 3 Aug 2024 09:53:22 +0300 Subject: [PATCH] Add id field to DbCard in types package --- types/types.go | 1 + 1 file changed, 1 insertion(+) diff --git a/types/types.go b/types/types.go index a37affd..3d0329f 100644 --- a/types/types.go +++ b/types/types.go @@ -21,6 +21,7 @@ type ErrorResponse struct { } type DbCard struct { + ID uint `json:"id" example:"1"` Name string `json:"name" example:"CreditCard"` Value uint64 `json:"value" example:"1000"` HaveCreditLine bool `json:"have_credit_line" example:"true"`