Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type User ¶
type User struct { IdUser int `gorm:"primary_key;auto_increment;Column:iduser" json:"idUser" form:"idUser"` CPF string `gorm:"size:11;not null;unique;Column:cpf" json:"CPF" form:"CPF"` Gender string `gorm:"size:15;not null;Column:gender" json:"gender" form:"gender"` DateOfBirth string `gorm:"not null;Column:dateofbirth" json:"dateOfBirth" form:"dateOfBirth"` Email string `gorm:"size:150;not null;unique;Column:email" json:"email" form:"email"` FullName string `gorm:"size:150;not null;Column:fullname" json:"fullName" form:"fullName"` Password string `gorm:"size:255;not null;Column:password" json:"password" form:"password"` }
func (*User) CreateUser ¶
Click to show internal directories.
Click to hide internal directories.