This is the code for the post How to Create a RESTful API With Only The Golang Standard Library. You can get the code of author's from github.
- Create a database connection
- Create a caching connection for authentication
- Create a mux
- Load in our controllers
- Create our routes with the mux and controllers
- Start the server
- go get -u github.com/go-redis/redis
- go get github.com/lib/pq