From 8f126961c40727a392bcf48e4e5bcf8516eea889 Mon Sep 17 00:00:00 2001 From: Pierre Fenoll Date: Wed, 18 Nov 2020 00:54:06 +0100 Subject: [PATCH] Fix typo in encoding.md (#4020) --- Documentation/encoding.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Documentation/encoding.md b/Documentation/encoding.md index 31436609..dd49f55e 100644 --- a/Documentation/encoding.md +++ b/Documentation/encoding.md @@ -132,7 +132,7 @@ As a reminder, all `CallOption`s may be converted into `DialOption`s that become the default for all RPCs sent through a client using `grpc.WithDefaultCallOptions`: ```go - myclient := grpc.Dial(ctx, target, grpc.WithDefaultCallOptions(grpc.UseCompresor("gzip"))) + myclient := grpc.Dial(ctx, target, grpc.WithDefaultCallOptions(grpc.UseCompressor("gzip"))) ``` When specified in either of these ways, messages will be compressed using this