From fd45ec1f2ec8837a3a76b203d9294976deb7eb9d Mon Sep 17 00:00:00 2001 From: Cong Zhao Date: Sun, 22 Jul 2018 23:25:01 +0800 Subject: [PATCH] eth, rpc: fix missing parentheses in doc --- rpc/doc.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rpc/doc.go b/rpc/doc.go index 78aa92f899..9a6c4abbce 100644 --- a/rpc/doc.go +++ b/rpc/doc.go @@ -58,7 +58,7 @@ An example server which uses the JSON codec: return a + b } - func (s *CalculatorService Div(a, b int) (int, error) { + func (s *CalculatorService) Div(a, b int) (int, error) { if b == 0 { return 0, errors.New("divide by zero") }