couchbaselabs/go-couchbase — pull request #17 by felixge (2014-07-24 14:23:46+00:00)
Title: Implement Bucket#Flush()

Due to the problems mentioned in #16, I've decided to give up on programmatically deleting/creating buckets for now, and instead implement the Flush() method to help with the integration tests I'm writing. It's not quite the same as it's my understanding that flush does not remove design documents, but it's better than nothing.

Please let me know if you'd like this functionality and what changes I should make to my patch.