1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-23 20:02:22 +00:00

Merge pull request #542 from fireqong/patch-1

Update ch4-01-rpc-intro.md
This commit is contained in:
Xargin 2021-05-19 14:38:31 +08:00 committed by GitHub
commit 28b7452832
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -73,7 +73,7 @@ func main() {
```go ```go
const HelloServiceName = "path/to/pkg.HelloService" const HelloServiceName = "path/to/pkg.HelloService"
type HelloServiceInterface = interface { type HelloServiceInterface interface {
Hello(request string, reply *string) error Hello(request string, reply *string) error
} }