rpc: fix missing parentheses in doc (#17224)

This commit is contained in:
cong authored and Péter Szilágyi committed 2018-07-22 22:09:45 +03:00
1 parent 040dd5bd5d
commit 8997efe31f
1 file changed
+1 -1
+1 -1
View File
@@ -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")
}