Skip to content

Commit 8997efe

Browse files
ackratoskaralabe
authored andcommitted
rpc: fix missing parentheses in doc (#17224)
1 parent 040dd5b commit 8997efe

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎rpc/doc.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ An example server which uses the JSON codec:
5858
return a + b
5959
}
6060
61-
func (s *CalculatorService Div(a, b int) (int, error) {
61+
func (s *CalculatorService) Div(a, b int) (int, error) {
6262
if b == 0 {
6363
return 0, errors.New("divide by zero")
6464
}

0 commit comments

Comments
 (0)