Closed enst closed 8 years ago
Please add some tests for your code.
map[string][]string works too. But I haven't figured out how to make the test case work. It seems DocumentResponse does't meet the needs in this case. Not sure if a new type of response struct is needed.
You're right. We'd have to add another response struct that looks like the CouchDB response.
{
"purge_seq":3,
"purged":{
"c6114c65e295552ab1019e2b046b10e": [
"3-b06fcd1c1c9e0ec7c480ee8aa467bf3b"
]
}
}
I'm relativity new to Go. Just a pull request for you to review. It works for me though. Thanks,