This above article came out in 2012. But still pretty relevant to learn the ideology behind go.
If you are writing Rest API why should you choose go?
It's compiled. So you get small binaries.
It's fast. (slower than c/c++ or rust) but faster than most other web programming languages.
It's simple to understand.
It works really well in the microservices world for reason no 1.
net/http
The standard library in go comes with the net/http package, which is an excellent starting point for building RestAPIs. And most other libraries the adds some additional feature are also interoperable with the net/http package so understanding the net/http package is crucial to using golang for RestAPIs.