In Go, modules are a way to manage the dependencies of your Go projects. They allow you to define, version, and manage collections of Go packages, making it easier to build, share, and maintain code.

go mod init github.com/hkirat/go-http-server
go get github.com/gin-gonic/gin 
import "github.com/gin-gonic/gin"