]> git.notmuchmail.org Git - notmuch/commit
go: fix the notmuch status constants
authorJustus Winter <4winter@informatik.uni-hamburg.de>
Wed, 9 May 2012 10:23:07 +0000 (12:23 +0200)
committerDavid Bremner <bremner@debian.org>
Fri, 11 May 2012 11:28:21 +0000 (08:28 -0300)
commit0af7295faf56d5c469a9b47ad253ea5b146b0975
tree1c67cfdb678f61b092c3b0787d066e9da3079a07
parent9f5478637c925ec9996328671d9a8f26ac6a6ed4
go: fix the notmuch status constants

Formerly all the constants were set to zero since in golang constants
are set to the previous value if no new value is specified. Use the
iota operator that is incremented after each use to fix this issue.

Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
bindings/go/pkg/notmuch.go