// GetTopicsNames returns the list of topics' names.
GetTopicsNames returns the list of topics' names.
// GetTopicsNames returns the list of topics ' names .
func (c *Client) GetTopicsNames() ([]string, error) {
	topics, err := c.GetTopics()
	if err != nil {
		return nil, err
	}
	topicNames := make([]string, len(topics))
	for i := range topics {
		topicNames[i] = topics[i].TopicName
	}
	return topicNames, nil
}
func ( c * Client ) GetTopicsNames ( ) ( [ ] string , error ) { topics , err := c . GetTopics ( ) if err != nil { return nil , err } topicNames := make ( [ ] string , len ( topics ) ) for i := range topics { topicNames [ i ] = topics [ i ] . TopicName } return topicNames , nil }
GetTopicsNames returns the list of topics' names.
GetTopicsNames returns the list of topics ' names .