On Mon, Aug 13, 2012 at 11:34 PM, Alex Luya <
alexand...@gmail.com> wrote:
> What I really want to do is hide mongdb connections
> stuffs(creation,clone..close) and error handling stuff like this:
Alex, please use a pastebin in the future, such as
gist.github.com,
rather than pasting a lot of code inline.
Also, sample files should be self contained so we can run them, since
otherwise we'll have to do guess work just to get your stuff running.
> json.Unmarshal(res, list)
This should be &list. Check the error result.
gustavo @
http://niemeyer.net