Skip to content

Commit dfbd75a

Browse files
authored
Merge pull request #76 from twitchtv/never_use_std_log
Remove all uses of stdlib log
2 parents f91c5c6 + 122888a commit dfbd75a

File tree

13 files changed

+329
-233
lines changed

13 files changed

+329
-233
lines changed

clientcompat/internal/clientcompat/clientcompat.twirp.go

Lines changed: 37 additions & 25 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/service.twirp.go

Lines changed: 27 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

hooks.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,8 @@ type ServerHooks struct {
5050
// does not return a context.
5151
ResponseSent func(context.Context)
5252

53-
// Error hook is called when a request responds with an Error,
54-
// either by the service implementation or by Twirp itself.
55-
// The Error is passed as argument to the hook.
53+
// Error hook is called when an error occurs while handling a request. The
54+
// Error is passed as argument to the hook.
5655
Error func(context.Context, Error) context.Context
5756
}
5857

internal/twirptest/gogo_compat/service.twirp.go

Lines changed: 27 additions & 19 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)