Skip to content

Commit

Permalink
Merge pull request #12 from espadrine/patch-1
Browse files Browse the repository at this point in the history
Fix sqlax typo in README
  • Loading branch information
asdine authored Apr 17, 2019
2 parents 21a5f51 + 190b87e commit e7bf892
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ With sqalx you can easily create reusable and composable functions that can be c
$ go get github.com/heetch/sqalx
```

### Import sqlax
### Import sqalx

```go
import "github.com/heetch/sqalx"
Expand Down Expand Up @@ -76,7 +76,7 @@ func createUser(node sqalx.Node) error {
return tx.Commit()
}

func updateGroups(node sqlax.Node) error {
func updateGroups(node sqalx.Node) error {
// Notice we are creating a new transaction.
// This would normally cause a dead lock without sqalx.
tx, err := node.Beginx()
Expand Down

0 comments on commit e7bf892

Please sign in to comment.