MajidZare

Results 5 comments of MajidZare

my error is : call to ExecQuery 'INSERT INTO "users" ("id","user_name","pass_word","email","role","name","created_at","updated_at") VALUES ($1,$2,$3,$4,$5,$6,$7,$8)' with args [{Name: Ordinal:1 Value:a8813f4a-bd82-4dd2-bdd9-fbcf0aa7787f} {Name: Ordinal:2 Value:test} {Name: Ordinal:3 Value:12345} {Name: Ordinal:4 Value:testemail} {Name: Ordinal:5 Value:admin}...

every thing is ok but test failed

all thing same like before, nothing changed

```go package main import ( "database/sql" "regexp" "testing" "gopkg.in/DATA-DOG/go-sqlmock.v1" "gorm.io/driver/postgres" "gorm.io/gorm" ) type Student struct { //*gorm.Model Name string ID string } type v2Suite struct { db *gorm.DB mock sqlmock.Sqlmock...

that is my example source