Skip to content

Commit 8057e0d

Browse files
authored
Merge pull request #11 from SamHennessy/patch-1
Update README.md
2 parents cd2ec73 + 9abf8b8 commit 8057e0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ Use `Union` method to combine results of two queries:
316316
```go
317317
var userId int64
318318

319-
err := sqlf.InsertInto("users").
319+
_, err := sqlf.InsertInto("users").
320320
Set("email", "[email protected]").
321321
Set("address", "320 Some Avenue, Somewhereville, GA, US").
322322
Returning("id").To(&userId).

0 commit comments

Comments
 (0)