Package pubsubx contains utilities for working with Google PubSub.
CleanupTopic deletes a topic with all subscriptions and logs any error. Useful for defer.
EnsureSubscription creates a new subscription with the given name, if it doesn't exist.
EnsureTopic creates a new topic, if it doesn't exist.
MakeQualifiedSubscriptionName returns a fully-qualified subscription name for the given project and subscription id.
MakeQualifiedTopicName returns a fully-qualified topic name for the given project and topic.
Publish is a simple utility for publishing a set of string messages serially to a pubsub topic. Small scale use only.