Dima 1 سال پیش
والد
کامیت
be0b90c234
2فایلهای تغییر یافته به همراه1 افزوده شده و 0 حذف شده
  1. BIN
      build/app/app
  2. 1 0
      internal/repositories/article.go

BIN
build/app/app


+ 1 - 0
internal/repositories/article.go

@@ -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").