// GetTopics returns the list of topics.
GetTopics returns the list of topics.
// GetTopics returns the list of topics .
func (c *Client) GetTopics() (topics []Topic, err error) {
	resp, respErr := c.Do(http.MethodGet, topicsPath, "", nil)
	if respErr != nil {
		err = respErr
		return
	}
	err = c.ReadJSON(resp, &topics)
	return
}
func ( c * Client ) GetTopics ( ) ( topics [ ] Topic , err error ) { resp , respErr := c . Do ( http . MethodGet , topicsPath , " " , nil ) if respErr != nil { err = respErr return } err = c . ReadJSON ( resp , & topics ) return }
GetTopics returns the list of topics.
GetTopics returns the list of topics .
// # List of topics // GET /api/topics