fixed multipart form issue

This commit is contained in:
Fran Jurmanović
2021-06-05 00:10:23 +02:00
parent 1406c74e67
commit 636a367d3e
12 changed files with 66 additions and 35 deletions

View File

@@ -5,10 +5,14 @@ type Token struct {
}
type Login struct {
Email string
Password string
Email string `form:"email"`
Password string `form:"password"`
}
type Auth struct {
Id string
}
type CheckToken struct {
Valid bool `json:"valid"`
}