Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DB *gorm.DB
Functions ¶
Types ¶
type User ¶
type User struct {
gorm.Model
FirstName string `json:"firstname"`
LastName string `json:"lastname"`
Email string `json:"email"`
Phone string `json:"phone"`
Amount float64 `json:"amount"`
NationalId string `json:"nationalId"`
GroupID string `json:"groupId"`
}
Define structure for users of th application
func (*User) CreateUser ¶
func (*User) DeleteUser ¶
Click to show internal directories.
Click to hide internal directories.