{"id":51719,"library":"gin-contrib-static","title":"Gin Static","description":"Package static provides a middleware for serving static files in the Gin web framework.","status":"active","version":"1.1.6","language":"go","source_language":null,"source_url":"https://github.com/gin-contrib/static","tags":["gin","static","middleware","web"],"install":[{"cmd":"go get github.com/gin-contrib/static","lang":"bash","label":"Install github.com/gin-contrib/static"}],"dependencies":[],"imports":[{"symbol":"static","correct":"github.com/gin-contrib/static"}],"quickstart":{"code":"package main\n\nimport (\n    \"github.com/gin-gonic/gin\"\n    \"github.com/gin-contrib/static\"\n)\n\nfunc main() {\n    r := gin.Default()\n    r.Use(static.Serve(\"/\", static.LocalFile(\"./public\", false)))\n    r.Run()\n}","lang":"go","description":"Serve static files from the ./public directory using Gin."},"warnings":[],"env_vars":null,"search_vec":"'file':11 'framework':16 'gin':1,14,17 'middlewar':7,19 'packag':3 'provid':5 'serv':9 'static':2,4,10,18 'web':15,20","created_at":"2026-06-15T06:27:18.050347+00:00","updated_at":"2026-06-15T06:27:18.050347+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/gin-contrib/static","github":"https://github.com/gin-contrib/static","docs":"https://pkg.go.dev/github.com/gin-contrib/static#section-documentation","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["web-framework"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-15","next_check":"2026-12-12","install_tag":null}}