Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { gorm.Model // gorm.Model is embedded to provide common fields like ID, CreatedAt, UpdatedAt, and DeletedAt Email string `gorm:"unique"` // Email field represents the email address of the user and is marked as unique in the database Password string // Password field stores the hashed password of the user }
User represents the user model in the application. It defines the structure of user data stored in the database.
Click to show internal directories.
Click to hide internal directories.