添加compile 'com.squareup.retrofit2:retrofit:2.3.0'
本来想看官网发现没有教程,就找了下面这篇
http://blog.csdn.net/carson_ho/article/details/73732076
重点:
retrofit通过使用注解来简化请求
符合restful
ps:rest
https://github.com/astaxie/build-web-application-with-golang/blob/master/zh/08.3.md
http://www.ruanyifeng.com/blog/2011/09/restful.html