From 5cdc7d6ccd61a0241a49639cc4747b405886e4c2 Mon Sep 17 00:00:00 2001 From: amyxia Date: Wed, 26 May 2021 20:52:51 +0800 Subject: [PATCH] fix typo in jsonrpc2/stream.go (#47) Co-authored-by: xiarui.xr --- stream.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stream.go b/stream.go index e7a9025..7023c65 100644 --- a/stream.go +++ b/stream.go @@ -68,7 +68,7 @@ func (t *bufferedObjectStream) Close() error { return t.conn.Close() } -// An ObjectCodec specifies how to encoed and decode a JSON-RPC 2.0 +// An ObjectCodec specifies how to encode and decode a JSON-RPC 2.0 // object in a stream. type ObjectCodec interface { // WriteObject writes a JSON-RPC 2.0 object to the stream.