Browse Source

Update README.md

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

+ 5 - 0
README.md

@@ -53,6 +53,11 @@ var rowUser structUser
 if err := db.DeleteRowByID(context.Background(), 1, &rowUser); err != nil {
     fmt.Printf("%s\n", err.Error())
 }
+
+rowUser.Name = "John"
+if err := db.InsertRow(context.Background(), &rowUser); err != nil {
+    fmt.Printf("%s\n", err.Error())
+}
 ```
 
 ## Examples