All Projects → tommy351 → Gin Cors

tommy351 / Gin Cors

Licence: mit
CORS middleware for Gin.

Programming Languages

go
31211 projects - #10 most used programming language

gin-cors

Build Status

CORS middleware for Gin.

Installation

$ go get github.com/tommy351/gin-cors

Usage

import (
    "github.com/gin-gonic/gin"
    "github.com/tommy351/gin-cors"
)

func main(){
    g := gin.New()
    g.Use(cors.Middleware(cors.Options{}))
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].