added delete contact route

This commit is contained in:
slawk0
2025-02-01 17:05:43 +01:00
parent 86c43fffc0
commit cd83870ab4
8 changed files with 163 additions and 37 deletions

View File

@@ -2,16 +2,6 @@ package model
import "github.com/golang-jwt/jwt/v5"
type LoginStruct struct {
Username string `json:"username" xml:"username" form:"username"`
Password string `json:"password" xml:"password" form:"password"`
}
type SignupStruct struct {
Username string `json:"username" xml:"username" form:"username"`
Password string `json:"password" xml:"password" form:"password"`
}
type UserClaims struct {
Username string `json:"username"`
UserId string `json:"user_id"`