Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Contact ¶
type Contact struct { gorm.Model ID uint `gorm:"primaryKey" faker:"oneof: 1,2",unique` Name string `faker:"name" form:"name" binding:"required"` Email string `faker:"email" form:"email" binding:"required,email"` Phone string `faker:"phone_number" form:"phone"` Category string `faker:"oneof: A, B, C, D" form:"category"` LastContact time.Time NextContact time.Time Notes string `faker:"paragraph" form:"notes"` }
func GetRecentContacts ¶
GetRecentContacts returns all contacts with last contact date within the last 10 days
func GetUpcomingContacts ¶
GetUpcomingContacts returns all contacts with next contact date within the next 10 days
func (*Contact) GetNextContactDate ¶
Click to show internal directories.
Click to hide internal directories.