Created API in GOLANG using Gin Web Framework which contain GET,POST,PUT,DELETE Methods.
first create main.go file and than in terminal.
go mod init main
go mod tidy
and import
go get -u "gorm.io/gorm"
go get -u "github.com/gin-gonic/gin"
go get -u "gorm.io/driver/sqlserver" //as per your Database