Skip to content

Commit

Permalink
misc: Satisfy linters for examples
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilogorek committed May 23, 2019
1 parent 6b6558b commit 6e8720a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion example/basic/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ func main() {
return breadcrumb
},
SampleRate: 1,
Transport: new(DevNullTransport),
Transport: new(devNullTransport),
Integrations: func(integrations []sentry.Integration) []sentry.Integration {
return append(integrations, integrations[1])
},
Expand Down
2 changes: 1 addition & 1 deletion example/http/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ func (eu extractUser) processor(event *sentry.Event, hint *sentry.EventHint) *se
func main() {
err := sentry.Init(sentry.ClientOptions{
Dsn: "https://[email protected]/1337",
Transport: new(DevNullTransport),
Transport: new(devNullTransport),
Integrations: func(i []sentry.Integration) []sentry.Integration {
return append(i, new(extractUser))
},
Expand Down

0 comments on commit 6e8720a

Please sign in to comment.