2024-12-06 13:35:43 +01:00
|
|
|
package cmd
|
|
|
|
|
|
|
|
type user struct {
|
2024-12-10 13:52:59 +01:00
|
|
|
Id int `json:"id"`
|
|
|
|
Name string `json:"nombre"`
|
|
|
|
Surname1 string `json:"apellido1"`
|
|
|
|
Surname2 string `json:"apellido2"`
|
|
|
|
Email string `json:"email"`
|
|
|
|
Password string `json:"password"`
|
|
|
|
AccountType string `json:"type"`
|
2024-12-06 13:35:43 +01:00
|
|
|
}
|
2024-12-11 12:36:02 +01:00
|
|
|
|
2024-12-13 09:30:55 +01:00
|
|
|
type userNoPass struct {
|
|
|
|
Id int `json:"id"`
|
|
|
|
Name string `json:"nombre"`
|
|
|
|
Surname1 string `json:"apellido1"`
|
|
|
|
Surname2 string `json:"apellido2"`
|
|
|
|
Email string `json:"email"`
|
|
|
|
AccountType string `json:"type"`
|
|
|
|
}
|
|
|
|
|
2024-12-11 12:36:02 +01:00
|
|
|
type response struct {
|
|
|
|
Contents any `json:"contents"`
|
|
|
|
Success bool `json:"success"`
|
|
|
|
}
|