transformers

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 23, 2025 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ToSignInResponse

func ToSignInResponse(tokens *auth.Token) response.SignIn

ToSignInResponse function JWTTokens struct to SignIn response object.

func ToSignUpResponse

func ToSignUpResponse(user models.User) response.SignUp

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL