We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9dcf8aa commit b9010f3Copy full SHA for b9010f3
rpc/service.go
@@ -227,7 +227,7 @@ func isSubscriptionType(t reflect.Type) bool {
227
return t == subscriptionType
228
}
229
230
-// isPubSub tests whether the given method has as as first argument a context.Context and
+// isPubSub tests whether the given method's first argument is a context.Context and
231
// returns the pair (Subscription, error).
232
func isPubSub(methodType reflect.Type) bool {
233
// numIn(0) is the receiver type
0 commit comments