Add the module name after the path to the repo and simply name it ersteller

This commit is contained in:
Achim Rohn
2025-11-15 11:36:56 +01:00
parent 4c892c5828
commit a1b93c0eba
86 changed files with 253 additions and 251 deletions
@@ -3,12 +3,12 @@ package google
import (
"context"
"errors"
"git.gorlug.de/code/golang/ersteller-lib"
"git.gorlug.de/code/golang/ersteller-lib/ersteller"
"github.com/doug-martin/goqu/v9"
)
func (r *GoogleAuthRepository) ReadByUserId(userId int) (GoogleAuth, error) {
ersteller_lib.Debug("Getting GoogleAuth by userId", userId)
ersteller.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_lib.Error("Failed to get GoogleAuth: ", err)
ersteller.Error("Failed to get GoogleAuth: ", err)
}
defer rows.Close()
if rows.Next() {