Name: gin-cors
Owner: Kik Interactive
Description: CORS middleware for Gin.
Created: 2015-03-18 14:17:02.0
Updated: 2017-01-30 14:31:46.0
Pushed: 2015-08-25 07:45:51.0
Size: 92
Language: Go
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
CORS middleware for gin.
This package is no longer maintained and will be removed in the future. Please use the CORS subpackage in rounds/go-gin-contrib instead.
get github.com/tommy351/gin-cors
rt (
"github.com/gin-gonic/gin"
"github.com/tommy351/gin-cors"
main(){
g := gin.New()
g.Use(cors.Middleware(cors.Options{}))