Skip to content

Commit

Permalink
fix(readme): Fix indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
alifiroozi80 authored Nov 1, 2024
1 parent 3efab48 commit 8a1b386
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ func main() {
// Create
db.Create(&Product{Code: "D42", Price: 100})

// Read
// Read
var product Product
db.First(&product, 1) // find product with integer primary key
db.First(&product, "code = ?", "D42") // find product with code D42
Expand Down

0 comments on commit 8a1b386

Please sign in to comment.