{"id":68343,"library":"rs-cors-wrapper-gin","title":"CORS Gin Wrapper","description":"A Gin middleware wrapper for the rs/cors library to handle CORS.","status":"active","version":null,"language":"go","source_language":null,"source_url":"https://github.com/rs/cors","tags":["cors","gin","middleware","http"],"install":[{"cmd":"go get github.com/rs/cors/wrapper/gin","lang":"bash","label":"Install github.com/rs/cors/wrapper/gin"}],"dependencies":[],"imports":[{"symbol":"gin","correct":"github.com/rs/cors/wrapper/gin"}],"quickstart":{"code":"package main\n\nimport (\n\t\"github.com/gin-gonic/gin\"\n\tcors \"github.com/rs/cors/wrapper/gin\"\n)\n\nfunc main() {\n\tr := gin.Default()\n\tr.Use(cors.Default())\n\tr.Run()\n}","lang":"go","description":"Adds CORS middleware to a Gin router."},"warnings":[],"env_vars":null,"search_vec":"'cor':1,14,15 'gin':2,5,16 'handl':13 'http':18 'librari':11 'middlewar':6,17 'rs/cors':10 'wrapper':3,7","created_at":"2026-06-17T17:48:37.353360+00:00","updated_at":"2026-06-17T17:48:37.353360+00:00","problems":[],"ecosystem":"go","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/rs/cors","github":"https://github.com/rs/cors","docs":"https://pkg.go.dev/github.com/rs/cors/wrapper/gin#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework","networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-17","next_check":"2026-12-14","install_tag":null}}