Skip to content

Commit

Permalink
Merge pull request #132 from NV4RE/feature/fix-readme
Browse files Browse the repository at this point in the history
Fix typo
  • Loading branch information
timshannon committed Sep 13, 2021
2 parents 99429b3 + b9fe7c0 commit 232392f
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 @@ -209,7 +209,7 @@ err := store.Insert(bolthold.NextSequence(), data)

The key value will be a `uint64`.

If you want to know the value of the auto-incrementing Key that was generated using `bolthold.NextSequence()`, then make sure to pass your data by value and that the `boltholdKey` tagged field is of type `uint64`.
If you want to know the value of the auto-incrementing Key that was generated using `bolthold.NextSequence()`, then make sure to pass your data by reference and that the `boltholdKey` tagged field is of type `uint64`.

```Go
err := store.Insert(bolthold.NextSequence(), &data)
Expand Down

0 comments on commit 232392f

Please sign in to comment.