aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Johnson <benbjohnson@yahoo.com>2016-07-07 10:56:26 -0600
committerGitHub <noreply@github.com>2016-07-07 10:56:26 -0600
commitc735b38f4e23bc5759d828d8acd5bc6138738715 (patch)
tree12da16680e915c861bc745074a19cbc7b5601cc5
parentMerge pull request #569 from ifraixedes/patch-1 (diff)
parentFixes build error in README code (diff)
downloaddedo-c735b38f4e23bc5759d828d8acd5bc6138738715.tar.gz
dedo-c735b38f4e23bc5759d828d8acd5bc6138738715.tar.xz
Merge pull request #570 from emersion/patch-1
Fixes build error in README code
-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.