aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authoremersion <contact@emersion.fr>2016-06-17 19:29:27 +0200
committerGitHub <noreply@github.com>2016-06-17 19:29:27 +0200
commit2fcb4b2d24ed77af7c2565ddef042329e725cf0a (patch)
tree12da16680e915c861bc745074a19cbc7b5601cc5 /README.md
parentMerge pull request #569 from ifraixedes/patch-1 (diff)
downloaddedo-2fcb4b2d24ed77af7c2565ddef042329e725cf0a.tar.gz
dedo-2fcb4b2d24ed77af7c2565ddef042329e725cf0a.tar.xz
Fixes build error in README code
Diffstat (limited to 'README.md')
-rw-r--r--README.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.md b/README.md
index 2fa3e2a..6569294 100644
--- a/README.md
+++ b/README.md
@@ -313,7 +313,7 @@ func (s *Store) CreateUser(u *User) error {
// Generate ID for the user.
// This returns an error only if the Tx is closed or not writeable.
// That can't happen in an Update() call so I ignore the error check.
- id, _ = b.NextSequence()
+ id, _ := b.NextSequence()
u.ID = int(id)
// Marshal user data into bytes.