Revert "Add the module name after the path to the repo and simply name it ersteller"
This reverts commit a1b93c0eba.
This commit is contained in:
@@ -3,12 +3,12 @@ package google
|
||||
import (
|
||||
"context"
|
||||
"errors"
|
||||
"git.gorlug.de/code/golang/ersteller-lib/ersteller"
|
||||
"git.gorlug.de/code/golang/ersteller-lib"
|
||||
"github.com/doug-martin/goqu/v9"
|
||||
)
|
||||
|
||||
func (r *GoogleAuthRepository) ReadByUserId(userId int) (GoogleAuth, error) {
|
||||
ersteller.Debug("Getting GoogleAuth by userId", userId)
|
||||
ersteller_lib.Debug("Getting GoogleAuth by userId", userId)
|
||||
sql, args, _ := r.dialect.From("googleAuth").
|
||||
Prepared(true).
|
||||
Select(r.getSelectColumns()...).
|
||||
@@ -19,7 +19,7 @@ func (r *GoogleAuthRepository) ReadByUserId(userId int) (GoogleAuth, error) {
|
||||
|
||||
rows, err := r.connPool.Query(context.Background(), sql, args...)
|
||||
if err != nil {
|
||||
ersteller.Error("Failed to get GoogleAuth: ", err)
|
||||
ersteller_lib.Error("Failed to get GoogleAuth: ", err)
|
||||
}
|
||||
defer rows.Close()
|
||||
if rows.Next() {
|
||||
|
||||
Reference in New Issue
Block a user