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:
commit
28b7452832
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user