Austin Clements 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). yep. I have a few fixes like that in my repo: https://github.com/sbinet/notmuch/commits/dev/go-bindings/bindings/go/src/notmuch https://github.com/sbinet/notmuch/commit/38713de1b90a29b66b2a7f310065a3ffcf527d9b#L1L88 -s