From 8b120ca0bc0ac1c965ee21f674d481c44f5e8267 Mon Sep 17 00:00:00 2001 From: Alexandre Cabral Date: Fri, 14 Feb 2025 19:34:51 -0300 Subject: [PATCH] fix typo --- pkg/kgo/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/kgo/config.go b/pkg/kgo/config.go index 55b99fc1..fadd204a 100644 --- a/pkg/kgo/config.go +++ b/pkg/kgo/config.go @@ -569,9 +569,9 @@ func WithLogger(l Logger) Opt { return clientOpt{func(cfg *cfg) { cfg.logger = &wrappedLogger{l} }} } -// WithContext sets the client to use the a custom context. +// WithContext sets the client to use a custom context. // -// By default the client uses context.Background. +// By default, the client uses context.Background. func WithContext(ctx context.Context) Opt { return clientOpt{func(cfg *cfg) { cfg.ctx = ctx }} }