Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { ID string `gorm:"primaryKey"json:"id"` Name string `gorm:""json:"name"` Email string `json:"email"` CreatedAt time.Time `json:"created_at"` UpdatedAt time.Time `json:"updated_at"` DeletedAt *time.Time `sql:"index"json:"deleted_at"` Password string `json:"password"` }
func DeleteUser ¶
func GetAllUsers ¶
func GetAllUsers(pagination *utils.Pagination) ([]User, *utils.Pagination)
func UpdateUser ¶
func (*User) CreateUser ¶
Click to show internal directories.
Click to hide internal directories.