Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ToSignInResponse ¶
ToSignInResponse function JWTTokens struct to SignIn response object.
func ToSignUpResponse ¶
ToSignUpResponse converts a User model to a User response object with all fields populated for signup response
Parameters:
- user: models.User - The user model to convert
Returns:
- response.User: The converted user response object
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.