Skip to content

Commit

Permalink
rpc: fix missing parentheses in doc (#17224)
Browse files Browse the repository at this point in the history
  • Loading branch information
ackratos authored and karalabe committed Jul 22, 2018
1 parent 040dd5b commit 8997efe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion rpc/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
}
Expand Down

0 comments on commit 8997efe

Please sign in to comment.