[PATCH 1/7] go: Use iota in enum bindings
binet at cern.ch
Wed Jul 18 13:36:48 PDT 2012
Austin Clements <amdragon at MIT.EDU> writes:
> Hah. I guess nobody has tried to modify a notmuch database using the
> Go bindings.
> Could this instead assign the constants to
> C.NOTMUCH_DATABASE_MODE_READ_ONLY, etc, rather than duplicating their
> values? It would be nice to do that for the Status values as well
> (which are correctly using iota, at least).
I have a few fixes like that in my repo:
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 197 bytes
Desc: not available
More information about the notmuch