MCPcopy Create free account
hub / github.com/google/go-cloud / topicPath

Function topicPath

pubsub/gcppubsubv2/gcppubsub_test.go:62–64  ·  view source on GitHub ↗
(topicName string)

Source from the content-addressed store, hash-verified

60}
61
62func topicPath(topicName string) string {
63 return fmt.Sprintf("projects/%s/topics/%s", projectID, topicName)
64}
65func subscriptionPath(subName string) string {
66 return fmt.Sprintf("projects/%s/subscriptions/%s", projectID, subName)
67}

Callers 2

createTopicFunction · 0.85
deleteTopicFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected