{"id":15323561,"url":"https://github.com/easonlin404/gin-slack","last_synced_at":"2025-04-14T23:34:36.566Z","repository":{"id":57546710,"uuid":"92833704","full_name":"easonlin404/gin-slack","owner":"easonlin404","description":"Reporting panic to Slack for Gin middleware","archived":false,"fork":false,"pushed_at":"2020-03-07T13:01:05.000Z","size":137,"stargazers_count":8,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-28T11:39:39.155Z","etag":null,"topics":["gin","go","golang","slack","slack-webhook"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/easonlin404.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-30T13:06:34.000Z","updated_at":"2024-10-09T11:14:19.000Z","dependencies_parsed_at":"2022-09-05T12:30:39.137Z","dependency_job_id":null,"html_url":"https://github.com/easonlin404/gin-slack","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easonlin404%2Fgin-slack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easonlin404%2Fgin-slack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easonlin404%2Fgin-slack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/easonlin404%2Fgin-slack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/easonlin404","download_url":"https://codeload.github.com/easonlin404/gin-slack/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248980258,"owners_count":21193131,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["gin","go","golang","slack","slack-webhook"],"created_at":"2024-10-01T09:20:21.901Z","updated_at":"2025-04-14T23:34:36.547Z","avatar_url":"https://github.com/easonlin404.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# gin-slack\n\nGin framework middleware for reporting panic to Slack.\n\n[![Travis branch](https://img.shields.io/travis/easonlin404/gin-slack/master.svg)](https://travis-ci.org/easonlin404/gin-slack)\n[![Codecov branch](https://img.shields.io/codecov/c/github/easonlin404/gin-slack/master.svg)](https://codecov.io/gh/easonlin404/gin-slack)\n[![Go Report Card](https://goreportcard.com/badge/github.com/easonlin404/gin-slack)](https://goreportcard.com/report/github.com/easonlin404/gin-slack)\n [![GoDoc](https://godoc.org/github.com/easonlin404/gin-slack?status.svg)](https://godoc.org/github.com/easonlin404/gin-slack)\n![Slack Image](https://easonlin404.github.io/gin-slack/images/slack.png)\n\n## Features\n* todo\n\n## Installation\n```sh\n$ go get -u github.com/easonlin404/gin-slack/\n```\n## Usage\n```go\npackage main\n\nimport (\n\t\"github.com/easonlin404/gin-slack\"\n\t\"github.com/easonlin404/go-slack\"\n\t\"github.com/gin-gonic/gin\"\n)\n\nfunc main() {\n\tr := gin.New()\n\n\t// You need get your slack WebhookURL from https://api.slack.com/incoming-webhooks\n\ts := slack.New().WebhookURL(\"https://hooks.slack.com/services/T00000000/B00000000/XXXXXXXXXXXXXXXXXXXXXXXX\")\n\n\t// Use ginslack middleware\n\tr.Use(ginslack.Recovery(s))\n\n\t// Other your handler\t\n\t// r.Get(\"get\",....)\n\t\n\tr.Run()\n}\n\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasonlin404%2Fgin-slack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feasonlin404%2Fgin-slack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feasonlin404%2Fgin-slack/lists"}