Add Session struct
This commit is contained in:
parent
a45423b5e2
commit
08a409caaf
|
@ -74,3 +74,8 @@ type DbPayment struct {
|
||||||
Note string `json:"not" example:"I'm a teapot"`
|
Note string `json:"not" example:"I'm a teapot"`
|
||||||
Date time.Time `json:"date" example:"29/11/2001 12:00"`
|
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"`
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user