1
0
mirror of https://github.com/chai2010/advanced-go-programming-book.git synced 2025-05-24 04:16:01 +00:00

Update ch4-01-rpc-intro.md

修正语法错误
This commit is contained in:
水煮牛肉 2021-05-17 11:19:04 +08:00 committed by GitHub
parent 4611a8dfaa
commit 4673aa1219
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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