Check out example codes for "mux go". It will help you in understanding the concepts better.

Code Example 1

go get -u github.com/gorilla/mux

Learn ReactJs, React Native from akashmittal.com