func (c *pubSubClient) new(ctx context.Context, project string) (pubsubClientInterface, error) {
	client, err := pubsub.NewClient(ctx, project)
	if err != nil {
		return nil, err
	}
	c.client = client
	return c, nil
}
func (c *pubSubClient) new(ctx context.Context, project string) (pubsubClientInterface, error) {
	client, err := pubsub.NewClient(ctx, project)
	if err != nil {
		return nil, err
	}
	c.client = client
	return c, nil
}
func ( c * pubSubClient ) new ( ctx context . Context , project string ) ( pubsubClientInterface , error ) { client , err := pubsub . NewClient ( ctx , project ) if err != nil { return nil , err } c . client = client return c , nil }
// New creates new Cloud Pub/Sub Client
New creates new Cloud Pub / Sub Client