Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Event ¶
type Event struct { // The gorm.Model is a struct provided by the GORM library that // contains common fields used for most database tables. // By embedding gorm.Model in the User struct, the fields ID, // CreatedAt, UpdatedAt, and DeletedAt are added to the User struct // automatically. gorm.Model Name string `json:"name"` Date string `json:"date"` Time string `json:"time"` Location string `json:"location"` Interests string `json:"interests"` }
Struct that defines the fields that represent a user in the application
type User ¶
type User struct { // The gorm.Model is a struct provided by the GORM library that // contains common fields used for most database tables. // By embedding gorm.Model in the User struct, the fields ID, // CreatedAt, UpdatedAt, and DeletedAt are added to the User struct // automatically. gorm.Model Username string `json:"username"` Passwordhash string `json:"passwordhash"` Firstname string `json:"firstname"` Lastname string `json:"lastname"` Email string `json:"email"` ProfilePicturePath string `json:"profilepicturepath"` // Text []string `json:"text"` // ConfidenceLevel []int `json:"confidencelevel"` AudioPath string `json:"audiopath"` }
Struct that defines the fields that represent a user in the application
Click to show internal directories.
Click to hide internal directories.