Skip to content

Commit f7c3cb6

Browse files
committed
update go codelab
1 parent 0155eed commit f7c3cb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

codelabs/grpc-go-getting-started/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -304,7 +304,7 @@ the server to respond, and will either return a response or an error.
304304
Calling the simple RPC `GetFeature` is nearly as straightforward as calling a local method.
305305

306306
```go
307-
feature, err := client.GetFeature(context.Background(), &pb.Point{409146138, -746188906})
307+
feature, err := client.GetFeature(context.Background(), &pb.Point{Latitude: 409146138, Longitude: -746188906})
308308
if err != nil {
309309
...
310310
}

0 commit comments

Comments
 (0)