@@ -64,6 +64,7 @@ func (a articleRepository) GetAllPreview(ctx context.Context) ([]models.ArticleP
func (a articleRepository) GetAll(ctx context.Context) ([]models.Article, error) {
var res []models.Article
+ // nolint
query, args, err := sq.Select("id", "url", "publish_time", "title", "image", "text", "preview_text", "meta_keywords", "meta_desc", "is_active").
From(articleTableName).
OrderBy("publish_time DESC").