Browse Source

Update README.md

Volodymyr Tkach 2 years ago
parent
commit
1ee4d75b24
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -48,7 +48,7 @@ type structUser struct {
 }
 
 var rowUser structUser
-if err := db.DeleteRowByID(context.Background(), 1, rowUser); err != nil {
+if err := db.DeleteRowByID(context.Background(), 1, &rowUser); err != nil {
     fmt.Printf("%s\n", err.Error())
 }
 ```