pubsub: fix package doc
Fixes
@@ -54,7 +54,8 @@ that is published to the topic will be delivered to all of its subscriptions.
Subsciptions may be created like so:
- sub, err := pubsubClient.CreateSubscription(context.Background(), "sub-name", topic, 0, nil)
+ sub, err := pubsubClient.CreateSubscription(context.Background(), "sub-name",
+ pubsub.SubscriptionConfig{Topic: topic})
Messages are then consumed from a subscription via callback.
