aboutsummaryrefslogtreecommitdiffhomepage
path: root/bindings/go/pkg/notmuch.go
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/go/pkg/notmuch.go')
-rw-r--r--bindings/go/pkg/notmuch.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bindings/go/pkg/notmuch.go b/bindings/go/pkg/notmuch.go
index f9f86b5e..e065b547 100644
--- a/bindings/go/pkg/notmuch.go
+++ b/bindings/go/pkg/notmuch.go
@@ -14,7 +14,7 @@ import "unsafe"
// Status codes used for the return values of most functions
type Status C.notmuch_status_t
const (
- STATUS_SUCCESS Status = 0
+ STATUS_SUCCESS Status = iota
STATUS_OUT_OF_MEMORY
STATUS_READ_ONLY_DATABASE
STATUS_XAPIAN_EXCEPTION