News for hackers. Stuff that matters.
Re:Termui – Go terminal dashboard by ChikkaChiChi on Friday March 27, 2015 @05:44PM (#9279223)
Good pull, but are there really that many use cases in production code where you need to consume JSON that you don't have an expectation of what types of data are coming your way?
Re:Termui – Go terminal dashboard by bigdubs on Friday March 27, 2015 @06:52PM (#9279563)
if you have a standard ServiceResponse wrapper with meta information and a 'response' field that is the actual contents of the response. Leads to FooServiceResponse, BarServiceResponse vs. if you just have a generic ServiceResponse<T>