{"id":22683278,"url":"https://github.com/mtchavez/gosentry","last_synced_at":"2025-08-09T03:16:48.697Z","repository":{"id":10919758,"uuid":"13220396","full_name":"mtchavez/gosentry","owner":"mtchavez","description":"Go Package for Sentry","archived":false,"fork":false,"pushed_at":"2013-10-05T18:51:44.000Z","size":1560,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-04T15:32:45.599Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://godoc.org/github.com/mtchavez/gosentry","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"chrisbanes/Android-PullToRefresh","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mtchavez.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-09-30T16:19:38.000Z","updated_at":"2013-10-05T18:54:08.000Z","dependencies_parsed_at":"2022-09-06T05:30:59.691Z","dependency_job_id":null,"html_url":"https://github.com/mtchavez/gosentry","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/mtchavez%2Fgosentry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fgosentry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fgosentry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mtchavez%2Fgosentry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mtchavez","download_url":"https://codeload.github.com/mtchavez/gosentry/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246195640,"owners_count":20738910,"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":[],"created_at":"2024-12-09T21:11:28.633Z","updated_at":"2025-03-29T14:28:00.459Z","avatar_url":"https://github.com/mtchavez.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Go Sentry\n\nGo package for [sentry](http://app.getsentry.com)\n\n## Install\n\nRun `go get -u github.com/mtchavez/gosentry`\n\n## Usage\n\nSet up a `RavenConfig` with your Project DSN\n\n```go\npackage main\n\nimport (\n    sentry \"githubcom/mtchavez/gosentry\"\n)\n\nvar Raven *sentry.RavenConfig\n\nfunc main() {\n    var err\n    myDSN := \"\"http://username:my-pw@app.getsentry.com/{project_id}\"\n    Raven, err = sentry.Setup(myDSN)\n    if err != nil {\n        println(err.Error())\n    }\n}\n```\n\nCapture a panic and sent error to sentry\n\n```go\nfunc myFunc() {\n    defer func() {\n        if r := recover(); r != nil {\n            Raven.Message(r, \"in package.myFunc()\")\n        }\n    }()\n\n}\n```\n\n## TODO\n\n* Beef up tests\n* Need to get backtrace to show up\n* Add go examples\n* Clean up code\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fgosentry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmtchavez%2Fgosentry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmtchavez%2Fgosentry/lists"}