3 ms·
The -Context suffix is only needed when something existed before Context was created. New stuff should be just `foo.Bar(ctx, ...)`
by yencabulator 3y ago
The -Context suffix is only needed when something existed before Context was created. New stuff should be just `foo.Bar(ctx, ...)`
- numbsafari 3y agoIsn't slog, like, completely new as of this release?
- yencabulator 3y agoYes. Then it having separate -Context variants means they really wanted to provide both, and not just the context one.