// Tags get names of tags tagged this article
Tags get names of tags tagged this article
// Tags get names of tags tagged this article
func (article *Article) Tags() (tags []string) {
	tagIDs := cache.RedisClient.SMembers(cache.ArticleTagsKey(article.ID)).Val()
	for _, id := range tagIDs {
		name := tagserv.Name(id)
		tags = append(tags, name)
	}
	return
}
func ( article * Article ) Tags ( ) ( tags [ ] string ) { tagIDs := cache . RedisClient . SMembers ( cache . ArticleTagsKey ( article . ID ) ) . Val ( ) for _ , id := range tagIDs { name := tagserv . Name ( id ) tags = append ( tags , name ) } return }
Tags get names of tags tagged this article
Tags get names of tags tagged this article