REST api using GO and Gorilla Mux

Swanand Keskar
1 min readMar 9, 2018

--

following is the simple CRUD example written in Golang using Gorilla Mux for routing

Install mux

$ go get github.com/gorilla/mux

Steps:

Define the structure for User

Define the handler functions for each route

Start listening and serving on port specified

The github link for the above app :

--

--

Swanand Keskar

Solutionizer | Fullstack Dev | Google Certified #Android Developer swanandkeskar.com