From 3a7bd6afc3e611c98a5c41c9248db46fe2c6f80c Mon Sep 17 00:00:00 2001 From: "xiarui.xr" Date: Wed, 26 May 2021 14:37:34 +0800 Subject: [PATCH] fix typo in jsonrpc2/stream.go --- 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.