aboutsummaryrefslogtreecommitdiff
path: root/bindings/go/pkg
AgeCommit message (Collapse)Author
2012-05-11go: update the build systemJustus Winter
The new "go" utility does not require any Makefiles to compile go packages and programs. Remove the old Makefiles and replace the top level Makefile with one defining some convenience targets for compiling the notmuch bindings and the notmuch-addrlookup utility. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: reorganize the go bindingsJustus Winter
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>
2012-05-11go: define the constant STATUS_UNBALANCED_ATOMICJustus Winter
Add the constant STATUS_UNBALANCED_ATOMIC to the list of notmuch status codes. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2012-05-11go: fix the notmuch status constantsJustus Winter
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>
2012-05-05go: Update Go bindings for new notmuch_database_{open, create} signaturesAustin Clements
This requires changing the return types of NewDatabase and OpenDatabase to follow the standard Go convention for returning errors.
2012-05-04go: Update to the current notmuch_database_find_message APIAustin Clements
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.
2012-04-28go: Use notmuch_database_destroy instead of notmuch_database_closeJustus Winter
Adapt the go bindings to the notmuch_database_close split. Signed-off-by: Justus Winter <4winter@informatik.uni-hamburg.de>
2011-01-26Initial import of Go bindings for notmuchSebastien Binet