Changing type of fields
Go Release / build-and-release (pull_request) Successful in 6s
Go CI / Test and Lint (pull_request) Failing after 7s
Go CI / Test and Lint (push) Failing after 17s

This commit is contained in:
2026-05-27 22:55:31 -04:00
parent 894e1387de
commit 8544a69eb1
+3 -3
View File
@@ -7,13 +7,13 @@ import (
"github.com/google/uuid"
)
// TODO: Replace Usr with all the fields from User, except Password and other sensitive fields
type UserProfile struct {
UserId uuid.UUID `json:"user_id"`
PhoneNumber string `json:"phone_number"`
Username string `json:"username"`
Firstname string `json:"firstname"`
Lastname string `json:"lastname"`
Firstname *string `json:"firstname,omitempty"`
Lastname *string `json:"lastname,omitempty"`
Created time.Time `json:"created"`
LastLogin *time.Time `json:"last_login,omitempty"`
}