// FindUsersByUsernameOrEmail search user by email or username
FindUsersByUsernameOrEmail search user by email or username
// FindUsersByUsernameOrEmail search user by email or username
func (us *UserService) FindUsersByUsernameOrEmail(q string, page int) []models.User {
	us.UserRepos.OpenTransaction()
	users := us.UserRepos.FindUsersByUsernameOrEmail(q, page)
	releaseConnection(us)
	return users
}
func ( us * UserService ) FindUsersByUsernameOrEmail ( q string , page int ) [ ] models . User { us . UserRepos . OpenTransaction ( ) users := us . UserRepos . FindUsersByUsernameOrEmail ( q , page ) releaseConnection ( us ) return users }
FindUsersByUsernameOrEmail search user by email or username
FindUsersByUsernameOrEmail search user by email or username