aboutsummaryrefslogtreecommitdiff
path: root/bindings/go/pkg/notmuch.go
Commit message (Collapse)AuthorAge
* go: reorganize the go bindingsJustus Winter2012-05-11
| | | | | | | | go 1 introduced the "go" program that simplifies building of libraries and programs. This patch reorganizes the go code so it can be compiled using the new utility, it does not change any files. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: define the constant STATUS_UNBALANCED_ATOMICJustus Winter2012-05-11
| | | | | | | Add the constant STATUS_UNBALANCED_ATOMIC to the list of notmuch status codes. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* go: fix the notmuch status constantsJustus Winter2012-05-11
| | | | | | | | 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>
* go: Update Go bindings for new notmuch_database_{open, create} signaturesAustin Clements2012-05-05
| | | | | | This requires changing the return types of NewDatabase and OpenDatabase to follow the standard Go convention for returning errors.
* go: Update to the current notmuch_database_find_message APIAustin Clements2012-05-04
| | | | | | | The signature of notmuch_database_find_message was changed in 02a30767 to report errors and the Go bindings were never updated. This brings the Go bindings in sync with that change and at least makes them compile with Go r60.3, the last release before Go 1.
* go: Use notmuch_database_destroy instead of notmuch_database_closeJustus Winter2012-04-28
| | | | | | Adapt the go bindings to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
* Initial import of Go bindings for notmuchSebastien Binet2011-01-26