aboutsummaryrefslogtreecommitdiffstats
path: root/rpc
diff options
context:
space:
mode:
Diffstat (limited to 'rpc')
-rw-r--r--rpc/doc.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpc/doc.go b/rpc/doc.go
index 78aa92f89..9a6c4abbc 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")
}