In recent years, GoLang has become popular backend language for web development. In this article I will tell you

  1. How to create GoLang project.
  2. Creating server, routes and pages using net/http module.
  3. Separating the code into api files for large number of paths.

For practise you can find the sample code on this link.

Creating the Project

Someone can find creating project, importing the files as complicated, but once you know it is very easy. Install the go on your laptop either using brew install go or from the Golang website**.**

Create folder for your project.

mkdir golang-http
cd golang-http

#golang #servers #golang-packages

Creating GOLang Project, Server and URL paths
1.45 GEEK