X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=bindings%2Fgo%2Fpkg%2Fnotmuch.go;h=e065b547ab8bbca0c27de968cac48b28d3ef9fc9;hb=0af7295faf56d5c469a9b47ad253ea5b146b0975;hp=f9f86b5e3c8f928bddac6f781a345d923c5af0f3;hpb=9f5478637c925ec9996328671d9a8f26ac6a6ed4;p=obsolete%2Fnotmuch-old 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