mirror of
https://github.com/chai2010/advanced-go-programming-book.git
synced 2025-05-23 20:02:22 +00:00
Update ch4-01-rpc-intro.md
修正语法错误
This commit is contained in:
parent
4611a8dfaa
commit
4673aa1219
@ -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