Publish/Consume messages to topic-endpoints using Golang

I am using golang to connect to the solace client. Everything is working fine with queues. I am able to publish or receive messages. But then, when I am trying to connect to topic-endpoint, I can't see it is connecting to the topic-endpoint. I am not getting any proper resource for the same.

Kindly help me, how can I connect to the topic-endpoint using golang.
Tagged:

Answers