X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=contrib%2Fgo%2Fsrc%2Fnotmuch%2Fnotmuch.go;h=5496198aaabf5efa6f1d91c8f70f7aec6570db73;hb=5d510221d17862a252955d98046508bebcd14573;hp=89093b2da34dab037e4ccba6f4f7f767fe8564d3;hpb=43668950626f347f05aad7d49cd9ea4383030443;p=notmuch diff --git a/contrib/go/src/notmuch/notmuch.go b/contrib/go/src/notmuch/notmuch.go index 89093b2d..5496198a 100644 --- a/contrib/go/src/notmuch/notmuch.go +++ b/contrib/go/src/notmuch/notmuch.go @@ -597,7 +597,7 @@ func (self *Threads) MoveToNext() { * * It's not strictly necessary to call this function. All memory from * the notmuch_threads_t object will be reclaimed when the - * containg query object is destroyed. + * containing query object is destroyed. */ func (self *Threads) Destroy() { if self.threads != nil { @@ -937,7 +937,7 @@ func (self *Message) GetMessageId() string { return "" } id := C.notmuch_message_get_message_id(self.message) - // we dont own id + // we don't own id // defer C.free(unsafe.Pointer(id)) if id == nil { return "" @@ -962,7 +962,7 @@ func (self *Message) GetThreadId() string { return "" } id := C.notmuch_message_get_thread_id(self.message) - // we dont own id + // we don't own id // defer C.free(unsafe.Pointer(id)) if id == nil { @@ -1019,7 +1019,7 @@ func (self *Message) GetFileName() string { return "" } fname := C.notmuch_message_get_filename(self.message) - // we dont own fname + // we don't own fname // defer C.free(unsafe.Pointer(fname)) if fname == nil { @@ -1096,7 +1096,7 @@ func (self *Message) GetHeader(header string) string { var c_header *C.char = C.CString(header) defer C.free(unsafe.Pointer(c_header)) - /* we dont own value */ + /* we don't own value */ value := C.notmuch_message_get_header(self.message, c_header) if value == nil { return "" @@ -1335,7 +1335,7 @@ func (self *Tags) Get() string { return "" } s := C.notmuch_tags_get(self.tags) - // we dont own 's' + // we don't own 's' return C.GoString(s) }