mirror of
https://github.com/emo2007/block-accounting.git
synced 2025-04-15 17:56:27 +00:00
printlm removed
This commit is contained in:
parent
cb5e9db5ef
commit
8f88d0cd28
@ -77,8 +77,6 @@ func (r *repositorySQL) Create(ctx context.Context, user *models.User) error {
|
|||||||
values...,
|
values...,
|
||||||
).PlaceholderFormat(sq.Dollar)
|
).PlaceholderFormat(sq.Dollar)
|
||||||
|
|
||||||
fmt.Println(query.ToSql())
|
|
||||||
|
|
||||||
if _, err := query.RunWith(r.Conn(ctx)).ExecContext(ctx); err != nil {
|
if _, err := query.RunWith(r.Conn(ctx)).ExecContext(ctx); err != nil {
|
||||||
return fmt.Errorf("error insert new user. %w", err)
|
return fmt.Errorf("error insert new user. %w", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user