{"modulePath":"github.com/getsentry/sentry-go","version":"v0.50.0","isLatest":true,"isStandardLibrary":false,"goos":"all","goarch":"all","docs":"# package main\n\nThis is an example program that makes an HTTP request and prints response headers. Whenever a request fails, the error is reported to Sentry.\n\nTry it by running:\n\n\tgo run main.go\n\tgo run main.go https://sentry.io\n\tgo run main.go bad-url\n\nTo actually report events to Sentry, set the DSN either by editing the appropriate line below or setting the environment variable SENTRY\\_DSN to match the DSN of your Sentry project.\n\n","path":"github.com/getsentry/sentry-go/_examples/basic","name":"main","synopsis":"This is an example program that makes an HTTP request and prints response headers.","isRedistributable":true}
