Y
Hacker News
new
|
ask
|
show
|
jobs
by
yencabulator
1036 days ago
The -Context suffix is only needed when something existed before Context was created. New stuff should be just `foo.Bar(ctx, ...)`
1 comments
numbsafari
1036 days ago
Isn't slog, like, completely new as of this release?
link
yencabulator
1036 days ago
Yes. Then it having separate -Context variants means they really wanted to provide both, and not just the context one.
link