diff options
author | cong <ackratos@users.noreply.github.com> | 2018-07-23 03:09:45 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2018-07-23 03:09:45 +0800 |
commit | 8997efe31f4bf3d82fbaad6f2a027b7fce2f8299 (patch) | |
tree | 1efd232619ee6cb3a2043286b1b2f42443416b93 /rpc/doc.go | |
parent | 040dd5bd5d9ecf05cce666eeb395bc18e5e91342 (diff) | |
download | go-tangerine-8997efe31f4bf3d82fbaad6f2a027b7fce2f8299.tar go-tangerine-8997efe31f4bf3d82fbaad6f2a027b7fce2f8299.tar.gz go-tangerine-8997efe31f4bf3d82fbaad6f2a027b7fce2f8299.tar.bz2 go-tangerine-8997efe31f4bf3d82fbaad6f2a027b7fce2f8299.tar.lz go-tangerine-8997efe31f4bf3d82fbaad6f2a027b7fce2f8299.tar.xz go-tangerine-8997efe31f4bf3d82fbaad6f2a027b7fce2f8299.tar.zst go-tangerine-8997efe31f4bf3d82fbaad6f2a027b7fce2f8299.zip |
rpc: fix missing parentheses in doc (#17224)
Diffstat (limited to 'rpc/doc.go')
-rw-r--r-- | rpc/doc.go | 2 |
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") } |