mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-01-29 02:29:14 +00:00
678 B
678 B
Raven-Go provides a Sentry client implementation for the Go programming language.
Installation
Raven-Go can be installed like any other Go library through go get
:
$ go get github.com/getsentry/raven-go
Minimal Example
package main
import (
"github.com/getsentry/raven-go"
)
func main() {
"___DSN___")
raven.SetDSN(
_, err := DoSomethingThatFails()if err != nil {
nil);
raven.CaptureErrorAndWait(err,
} }