Exemplo n.º 1
0
func (r *TopicRepository) Update(topic *core.Topic) error {
	_, err := dat.Update(r, topic.ID(), topic)
	if err != nil {
		log.Printf("Error updating topic: %s", err)
	}

	return err
}