From 08a409caafee27549f4c650fa4465266714dfc7c Mon Sep 17 00:00:00 2001 From: qowevisa Date: Wed, 6 Nov 2024 19:44:52 +0200 Subject: [PATCH] Add Session struct --- types/types.go | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/types/types.go b/types/types.go index c41a8c7..d69f811 100644 --- a/types/types.go +++ b/types/types.go @@ -74,3 +74,8 @@ type DbPayment struct { Note string `json:"not" example:"I'm a teapot"` Date time.Time `json:"date" example:"29/11/2001 12:00"` } + +type Session struct { + ID string `json:"id"` + UserID uint `json:"user_id" example:"1"` +}