cd simple-http-server
for gin
git clone https://github.com/vinodnextcoder/golang-simple-http-server.git
you go any dorectory install package and run code
cd golang-simple-http-server/gin-web-app
Install Gin:
go get github.com/gin-gonic/gin
You can run your Gin web application by executing the main.go file:
go run main.go
for folder gin-web-app
http://localhost:3001
http://localhost:3001/user/testuser
http://localhost:3001/contact
http://localhost:3001/swagger/index.html