We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I saw this kind of uses at many places. Please help me to understand this
`func (r *repository) RegisterRepository(input *model.EntityUsers) (*model.EntityUsers, string) {
var users model.EntityUsers db := r.db.Model(&users) errorCode := make(chan string, 1) checkUserAccount := db.Debug().Select("*").Where("email = ?", input.Email).Find(&users) if checkUserAccount.RowsAffected > 0 { errorCode <- "REGISTER_CONFLICT_409" return &users, <-errorCode } `
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I saw this kind of uses at many places. Please help me to understand this
`func (r *repository) RegisterRepository(input *model.EntityUsers) (*model.EntityUsers, string) {
The text was updated successfully, but these errors were encountered: