Validation is a very important part of any web application that deals with user input. So in this article, I am going to share my experience of handling validation of user data that we get from http requests. Let’s start.

First, let’s create a small web application. Create a new directory and open it in your favorite code editor. I am going to use VS Code.

Open the terminal and go inside the directory you have created for your application. Now we are going to create a go module using the following command.

Here you can use your remote repository…

Abu Bakkar Siddique

Software Engineer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store