remove using global map for default codecs (#223)

This commit is contained in:
pugnack
2025-10-15 23:32:52 +05:00
committed by GitHub
parent 7daa927e70
commit 7a325e2c9e
3 changed files with 1 additions and 12 deletions

View File

@@ -161,7 +161,7 @@ func NewOptions(opts ...Option) Options {
options := Options{
Context: context.Background(),
ContentType: DefaultContentType,
Codecs: DefaultCodecs,
Codecs: make(map[string]codec.Codec),
CallOptions: CallOptions{
Context: context.Background(),
Backoff: DefaultBackoff,