Пример #1
0
func (r *Email) IsExists() bool {
	return models.IsValueExists("users", "email", r.EmailAddress())
}
Пример #2
0
func (c *Creation) isCompanyExists() bool {
	return models.IsValueExists("companies", "id", c.companyId)
}