Skip to content

Commit

Permalink
Update doc.go to add missing parens on the example
Browse files Browse the repository at this point in the history
When reading the docs I noticed that there was a missing paren on the example. This does the heavy lifting to add that paren back in 💃
  • Loading branch information
scottcrawford03 authored and johanbrandhorst committed Apr 3, 2020
1 parent 8273b82 commit e49f804
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ server chaining:
myServer := grpc.NewServer(
grpc.StreamInterceptor(grpc_middleware.ChainStreamServer(loggingStream, monitoringStream, authStream)),
grpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer(loggingUnary, monitoringUnary, authUnary),
grpc.UnaryInterceptor(grpc_middleware.ChainUnaryServer(loggingUnary, monitoringUnary, authUnary)),
)
These interceptors will be executed from left to right: logging, monitoring and auth.
Expand Down

0 comments on commit e49f804

Please sign in to comment.